From 99915f98b3bb8bf57da40ac8477defa96f2c17a2 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 6 Jun 2016 13:31:29 +0100 Subject: [PATCH] Bug 16670: (bug 15823 follow-up) CGI->param should not be called in list context Signed-off-by: Jacek Ablewicz --- circ/circulation.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circ/circulation.pl b/circ/circulation.pl index b2bcdd1..ca55c9c 100755 --- a/circ/circulation.pl +++ b/circ/circulation.pl @@ -673,7 +673,7 @@ $template->param( todaysdate => output_pref( { dt => dt_from_string()->set(hour => 23)->set(minute => 59), dateformat => 'sql' } ), modifications => Koha::Patron::Modifications->GetModifications({ borrowernumber => $borrowernumber }), override_high_holds => $override_high_holds, - nopermission => $query->param('nopermission'), + nopermission => scalar $query->param('nopermission'), ); output_html_with_http_headers $query, $cookie, $template->output; -- 1.7.10.4