From 2b180b1f3876c2ca04caa3a9c764f5b029b9e075 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 --- 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; -- 2.8.1