From 58207446755cb2533fac48252c3b70154b164feb 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 Signed-off-by: Marcel de Rooy Signed-off-by: Kyle M Hall --- circ/circulation.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circ/circulation.pl b/circ/circulation.pl index b2201cfd19..30573701fc 100755 --- a/circ/circulation.pl +++ b/circ/circulation.pl @@ -671,7 +671,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; -- 2.39.5