Bugzilla – Attachment 3782 Details for
Bug 6088
remove a perl warning
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Signed patch for moremember.pl
patch.txt (text/plain), 1.04 KB, created by
Marcel de Rooy
on 2011-04-07 11:38:01 UTC
(
hide
)
Description:
Signed patch for moremember.pl
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2011-04-07 11:38:01 UTC
Size:
1.04 KB
patch
obsolete
>From 465e8ae184dd46013c48b57cc2218b13ee68e4c9 Mon Sep 17 00:00:00 2001 >From: Paul Poulain <paul.poulain@biblibre.com> >Date: Thu, 7 Apr 2011 11:55:38 +0200 >Subject: [PATCH] Removing a Perl warning >Content-Type: text/plain; charset="utf-8" > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Applied small fix to proposed patch. Tested. No warnings. >--- > members/moremember.pl | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/members/moremember.pl b/members/moremember.pl >index 9dcfa3a..c0c0d87 100755 >--- a/members/moremember.pl >+++ b/members/moremember.pl >@@ -242,7 +242,7 @@ if ( C4::Context->preference('OPACPrivacy') ) { > # > my @borrowernumbers = GetMemberRelatives($borrowernumber); > my $issue = GetPendingIssues($borrowernumber); >-my $relissue = GetPendingIssues(@borrowernumbers); >+my $relissue = @borrowernumbers>0? GetPendingIssues(@borrowernumbers): []; > my $issuecount = scalar(@$issue); > my $relissuecount = scalar(@$relissue); > my $roaddetails = &GetRoadTypeDetails( $data->{'streettype'} ); >-- >1.6.0.6 >
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 6088
:
3743
|
3776
| 3782