Bugzilla – Attachment 63590 Details for
Bug 18647
Internal server error on moremember.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18647: Internal server error on moremember.pl
Bug-18647-Internal-server-error-on-morememberpl.patch (text/plain), 1.58 KB, created by
Marc Véron
on 2017-05-21 15:07:12 UTC
(
hide
)
Description:
Bug 18647: Internal server error on moremember.pl
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2017-05-21 15:07:12 UTC
Size:
1.58 KB
patch
obsolete
>From 9e40da79584e1db72cec8323c07b6e10a2e0efe4 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >Date: Sun, 21 May 2017 17:04:18 +0200 >Subject: [PATCH] Bug 18647: Internal server error on moremember.pl > >To reproduce: >Go to the Details page of a member. >Result: Internal server error >Plack error log: >Template process failed: undef error - The method category_code >is not covered by tests! at (...)/koha/C4/Templates.pm line 121. > >To test: >Apply patch >Try to reproduce - patron's detail page should now display without error >--- > koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc >index caf45d6..5a844e8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc >@@ -1,5 +1,5 @@ > [%- IF ( borrower.borrowernumber ) %] >- [%- IF borrower.category_type == 'I' %] >+ [%- IF borrower.category.category_type == 'I' %] > [%- borrower.surname | html %] [% IF borrower.othernames %] ([% borrower.othernames | html %]) [% END %] > [%- ELSE %] > [%- IF invert_name %] >@@ -12,7 +12,7 @@ > ([% borrower.cardnumber | html %]) > [%- END %] > [%- ELSIF ( borrowernumber ) %] >- [%- IF category_type == 'I' %] >+ [%- IF borrower.category.category_type == 'I' %] > [%- surname | html %] [% IF othernames %] ([% othernames | html %]) [% END %] > [%- ELSE %] > [%- IF invert_name %] >-- >2.1.4
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 18647
:
63590
|
63596
|
63648
|
63651
|
63663