Bugzilla – Attachment 11376 Details for
Bug 8537
In moremember.pl the call of output_pref is without check
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8537 : In moremember.pl the call of 'output_pref' is without check
Bug-8537--In-morememberpl-the-call-of-outputpref-i.patch (text/plain), 1.15 KB, created by
Chris Cormack
on 2012-08-06 09:17:45 UTC
(
hide
)
Description:
Bug 8537 : In moremember.pl the call of 'output_pref' is without check
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2012-08-06 09:17:45 UTC
Size:
1.15 KB
patch
obsolete
>From 0662d8c57b23762e9d102376aeb0099bd6edb0f7 Mon Sep 17 00:00:00 2001 >From: Christophe Croullebois <christophe.croullebois@biblibre.com> >Date: Tue, 31 Jul 2012 16:18:08 +0200 >Subject: [PATCH] Bug 8537 : In moremember.pl the call of 'output_pref' is > without check > >the argument passed to "output_pref", could be undefined, in this case koha is not happy. >I just put a condition, the same logic than for the line below. > >Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> >--- > members/moremember.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/members/moremember.pl b/members/moremember.pl >index 25ae7e9..851c08c 100755 >--- a/members/moremember.pl >+++ b/members/moremember.pl >@@ -454,7 +454,7 @@ sub build_issue_data { > $issuedate = $issue->{issuedate}->clone(); > } > >- $issue->{date_due} = output_pref( $issue->{date_due} ); >+ $issue->{date_due} = output_pref( $issue->{date_due} ) if defined $issue->{date_due}; > $issue->{issuedate} = output_pref( $issue->{issuedate} ) if defined $issue->{issuedate}; > my $biblionumber = $issue->{biblionumber}; > my %row = %{$issue}; >-- >1.7.10.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 8537
:
11219
| 11376