Bug 16670: (bug 15823 follow-up) CGI->param should not be called in list context

Signed-off-by: Jacek Ablewicz <abl@biblos.pk.edu.pl>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 5820744675)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
This commit is contained in:
Jonathan Druart 2016-06-06 13:31:29 +01:00 committed by Frédéric Demians
parent 2b7a9479b6
commit 302ac5e2a8
1 changed files with 1 additions and 1 deletions

View File

@ -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;