Bug 15747: Do not use CGI->param in list context - Auth.pm
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 12 Feb 2016 11:47:22 +0000 (11:47 +0000)
committerJulian Maurice <julian.maurice@biblibre.com>
Fri, 26 Feb 2016 15:28:38 +0000 (16:28 +0100)
commit99a3e2162a6d552b3633b560ddd91a224a3a8b6e
tree2a7082789e4ef7f8c8d9ecf8a7faa662ac955bed
parent5f96cbd933aad1bade1d06b57e58c205aa6ffa35
Bug 15747: Do not use CGI->param in list context - Auth.pm

Test plan:
Log you in!
Without this patch applied, you will get a warning
"Fetching the value or values of a single named parameter"
With this patch applied, the warning from C4::Auth line 401 should not
appear anymore in the log file.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Note: no warnings for older CGI versions.

Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
(cherry picked from commit d9c19c6d45ad3f62119e3a29f37e227f635cb85c)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
C4/Auth.pm