Bugzilla – Attachment 3743 Details for
Bug 6088
remove a perl warning
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch for neworderempty.pl
0001-BZ6088-remove-Perl-warning.patch (text/plain), 940 bytes, created by
Paul Poulain
on 2011-04-06 12:59:42 UTC
(
hide
)
Description:
proposed patch for neworderempty.pl
Filename:
MIME Type:
Creator:
Paul Poulain
Created:
2011-04-06 12:59:42 UTC
Size:
940 bytes
patch
obsolete
>From 21f1bdb5b7697210ba58a4be2c1b979a9ea6ccd9 Mon Sep 17 00:00:00 2001 >From: Paul Poulain <paul.poulain@biblibre.com> >Date: Wed, 6 Apr 2011 14:59:04 +0200 >Subject: [PATCH] BZ6088: remove Perl warning > >caused by use warnings; >--- > acqui/neworderempty.pl | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/acqui/neworderempty.pl b/acqui/neworderempty.pl >index 9c5d30b..d3f5e38 100755 >--- a/acqui/neworderempty.pl >+++ b/acqui/neworderempty.pl >@@ -243,7 +243,7 @@ foreach my $thisbranch ( sort {$branches->{$a}->{'branchname'} cmp $branches->{$ > value => $thisbranch, > branchname => $branches->{$thisbranch}->{'branchname'}, > ); >- $row{'selected'} = 1 if( $thisbranch eq $data->{branchcode}) ; >+ $row{'selected'} = 1 if( $thisbranch && $data->{branchcode} && $thisbranch eq $data->{branchcode}) ; > push @branchloop, \%row; > } > $template->param( branchloop => \@branchloop ); >-- >1.7.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 6088
: 3743 |
3776
|
3782