From 3b5389ad7556d0e716a980396ee2f06b58e0a52d Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Wed, 10 Dec 2008 17:36:56 -0600 Subject: [PATCH] bug 2505: turn on warnings in reviews/reviewswaiting.pl Signed-off-by: Galen Charlton --- reviews/reviewswaiting.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/reviews/reviewswaiting.pl b/reviews/reviewswaiting.pl index de076a6782..9526a4c820 100755 --- 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' ) { -- 2.39.5