projects
/
koha-equinox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
bc3b7a4
)
bug 2505: turn on warnings in reviews/reviewswaiting.pl
author
Galen Charlton
<galen.charlton@liblime.com>
Wed, 10 Dec 2008 23:36:56 +0000 (17:36 -0600)
committer
Galen Charlton
<galen.charlton@liblime.com>
Thu, 11 Dec 2008 14:27:54 +0000 (08:27 -0600)
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
reviews/reviewswaiting.pl
patch
|
blob
|
history
diff --git
a/reviews/reviewswaiting.pl
b/reviews/reviewswaiting.pl
index
de076a6
..
9526a4c
100755
(executable)
--- a/
reviews/reviewswaiting.pl
+++ b/
reviews/reviewswaiting.pl
@@
-16,6
+16,8
@@
# Suite 330, Boston, MA 02111-1307 USA
use strict;
+use warnings;
+
use CGI;
use C4::Auth;
use C4::Output;
@@
-36,7
+38,7
@@
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
}
);
-my $op = $query->param('op');
+my $op = $query->param('op') || '';
my $reviewid = $query->param('reviewid');
if ( $op eq 'approve' ) {