Bugzilla – Attachment 41746 Details for
Bug 13618
Add additional template filter methods and a filter presence test to Koha
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13618 - memberentrygen.tt errors Not a GLOB reference
Bug-13618---memberentrygentt-errors-Not-a-GLOB-ref.patch (text/plain), 3.24 KB, created by
Liz Rea
on 2015-08-20 22:55:09 UTC
(
hide
)
Description:
Bug 13618 - memberentrygen.tt errors Not a GLOB reference
Filename:
MIME Type:
Creator:
Liz Rea
Created:
2015-08-20 22:55:09 UTC
Size:
3.24 KB
patch
obsolete
>From 8ca470526d4cfe2cb93332ff7391e8f21d72c330 Mon Sep 17 00:00:00 2001 >From: Liz Rea <liz@catalyst.net.nz> >Date: Fri, 21 Aug 2015 10:23:54 +1200 >Subject: [PATCH] Bug 13618 - memberentrygen.tt errors Not a GLOB reference > >Like Jonathan said: >The interpolation of a variable on including a file caused an unexpected >error: >Template process failed: undef error - Not a GLOB reference at >/usr/lib/i386-linux-gnu/perl5/5.20/Template/Provider.pm line 619. > >Replaced it with a SWITCH, like the other patch for this similar error. >--- > .../prog/en/modules/members/memberentrygen.tt | 35 ++++++++++++---------- > 1 file changed, 20 insertions(+), 15 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >index e8b198e..2010b36 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >@@ -494,11 +494,12 @@ > > [% END %] > [% UNLESS noaddress && noaddress2 && nocity && nostate && nozipcode && nocountry %] >- [% IF Koha.Preference( 'AddressFormat' ) %] >- [% INCLUDE "member-main-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %] >- [% ELSE %] >- [% INCLUDE 'member-main-address-style-us.inc' %] >- [% END %] >+ [% SWITCH Koha.Preference( 'AddressFormat' ) %] >+ [% CASE 'de' %] >+ [% INCLUDE 'member-main-address-style-de.inc' %] >+ [% CASE # us %] >+ [% INCLUDE 'member-main-address-style-us.inc' %] >+ [% END %] > [% END # nostreet && nocity etc group%] > > [% UNLESS nophone && nophonepro && nomobile && noemail && noemailpro && nofax %] >@@ -587,20 +588,24 @@ > [% IF ( step_6 ) %] > > [% UNLESS noB_address && noB_address2 && noB_city && noB_zipcode && noB_state && noB_country &&nocontactnote && noB_phone && noB_email %] >- [% IF Koha.Preference( 'AddressFormat' ) %] >- [% INCLUDE "member-alt-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %] >- [% ELSE %] >- [% INCLUDE 'member-alt-address-style-us.inc' %] >- [% END %] >+ [% SWITCH Koha.Preference( 'AddressFormat' ) %] >+ [% CASE 'de' %] >+ [% INCLUDE 'member-main-address-style-de.inc' %] >+ [% CASE # us %] >+ [% INCLUDE 'member-main-address-style-us.inc' %] >+ [% END %] >+ > [% END # UNLESS noB_address && noB_city && noB_state && noB_phone && noB_email %] > [% END %] > [% IF ( step_2 ) %] > [% UNLESS noaltcontactsurname && noaltcontactfirstname && noaltcontactaddress1 && noaltcontactaddress2 && noaltcontactaddress3 && noaltcontactstate && noaltcontactzipcode && noaltcontactcountry && noaltcontactphone %] >- [% IF Koha.Preference( 'AddressFormat' ) %] >- [% INCLUDE "member-alt-contact-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %] >- [% ELSE %] >- [% INCLUDE 'member-alt-contact-style-us.inc' %] >- [% END %] >+ [% SWITCH Koha.Preference( 'AddressFormat' ) %] >+ [% CASE 'de' %] >+ [% INCLUDE 'member-main-address-style-de.inc' %] >+ [% CASE # us %] >+ [% INCLUDE 'member-main-address-style-us.inc' %] >+ [% END %] >+ > [% END # UNLESS noaltcontactsurname && noaltcontactfirstname etc %] > > [% END %] >-- >1.9.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 13618
:
35488
|
35516
|
40480
|
40481
|
40482
|
40483
|
40484
|
40485
|
40487
|
41346
|
41347
|
41348
|
41349
|
41350
|
41351
|
41352
|
41353
|
41354
|
41355
|
41746
|
41747
|
41776
|
42009
|
42054
|
42072
|
42073
|
42075
|
42078
|
42079
|
42087
|
42090
|
42091
|
42092
|
42093
|
42094
|
42095
|
42096
|
42097
|
45141
|
45784
|
45785
|
45788
|
46767
|
46768
|
46769
|
46770
|
46771
|
46772
|
46773
|
46774
|
46775
|
46776
|
46777
|
46778
|
46779
|
46780
|
46781
|
46782
|
46783
|
46784
|
46785
|
46786
|
46787
|
46788
|
46789
|
46790
|
46791
|
46792
|
46793
|
46794
|
46795
|
46796
|
46797
|
46798
|
46799
|
46800
|
46801
|
46802
|
46803
|
46804
|
46805
|
46806
|
46807
|
46808
|
46809
|
46810
|
46811
|
46812
|
46813
|
46814
|
46815
|
46816
|
46817
|
46818
|
46819
|
46820
|
46821
|
46822
|
47425
|
47426
|
47427
|
47428
|
47429
|
47430
|
47431
|
47432
|
47433
|
47434
|
47435
|
47436
|
47437
|
47438
|
47439
|
47440
|
47441
|
47442
|
47443
|
47444
|
47445
|
47446
|
47447
|
47448
|
47449
|
47450
|
47451
|
47452
|
47631
|
59983
|
59984
|
59987
|
77804
|
77805
|
77806
|
77807
|
77808
|
77809
|
77997
|
77998
|
78158
|
78274
|
78415
|
79404
|
79818
|
81183
|
83479
|
83480