From 3cd7313007061c0e644d0daf37cf79739c342717 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Wed, 14 Aug 2013 14:53:25 +0000 Subject: [PATCH] bug 10728: fix additional log noise generated by subscription-renew.pl To test: [1] Use the renew link to bring up the subscription renewal form. [2] Verify that a warning message containing the text 'Problem = a value of 1 has been passed to param without key' was not added to the Apache error log. Signed-off-by: Galen Charlton Signed-off-by: Jonathan Druart Signed-off-by: Galen Charlton (cherry picked from commit 6e864430caaa951b06d5fecff3fe7864317e5e26) Signed-off-by: Tomas Cohen Arazi --- serials/subscription-renew.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serials/subscription-renew.pl b/serials/subscription-renew.pl index 47b35f0177..280b776357 100755 --- a/serials/subscription-renew.pl +++ b/serials/subscription-renew.pl @@ -60,7 +60,7 @@ my $query = new CGI; my $dbh = C4::Context->dbh; my $mode = $query->param('mode') || q{}; -my $op = $query->param('op') || q{}; +my $op = $query->param('op') || 'display'; my $subscriptionid = $query->param('subscriptionid'); my $done = 0; # for after form has been submitted my ( $template, $loggedinuser, $cookie ) = get_template_and_user( -- 2.39.5