Bug 20031: CGI param in list context warn in guided_reports.pl
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 18 Jan 2018 14:40:15 +0000 (15:40 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 2 Feb 2018 15:08:43 +0000 (12:08 -0300)
commitf3c6284835769dead3e9a8b6e91a14d7620a130c
tree86ae1c1a167b169938d90a62a698158dc56b5f74
parentb65f1f4c94731c4c35845f2a3db112ea3f5cc843
Bug 20031: CGI param in list context warn in guided_reports.pl

Resolve warn:
CGI::param called in list context from package CGI::Compile::ROOT::usr_share_koha_shadowclone_reports_guided_reports_2epl line 794, this can lead to vulnerabilities. [NOTE: line number from older Koha version.]

Test plan:
Looking at this change should convince you already. Another look at this
routine in C4/Output.pm would be bonus.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
reports/guided_reports.pl