From 23f05f46ed6f0f922b6a19bef640e65cd5b8b9ae 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 Content-Type: text/plain; charset=utf-8 Signed-off-by: Jacek Ablewicz Signed-off-by: Marcel de Rooy --- 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