Bugzilla – Attachment 63596 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]
[SIGNED-OFF] Bug 18647: Internal server error on moremember.pl
SIGNED-OFF-Bug-18647-Internal-server-error-on-more.patch (text/plain), 1.65 KB, created by
Josef Moravec
on 2017-05-22 07:38:14 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 18647: Internal server error on moremember.pl
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2017-05-22 07:38:14 UTC
Size:
1.65 KB
patch
obsolete
>From bd86c5d956cee8b3652b732307e7de7cb9eb45f8 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] [SIGNED-OFF] 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 > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> >--- > 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