@@ -, +, @@ --------- +drop database koha_library; +create database koha_library; +quit --- C4/Context.pm | 6 ++++++ 1 file changed, 6 insertions(+) --- a/C4/Context.pm +++ a/C4/Context.pm @@ -81,11 +81,17 @@ BEGIN { # Redefine multi_param if cgi version is < 4.08 # Remove the "CGI::param called in list context" warning in this case if (!defined($CGI::VERSION) || $CGI::VERSION < 4.08) { + print STDERR "Low version\n"; + require CGI; # Can't check version without the require. + print STDERR "Is actually: $CGI::VERSION\n"; no warnings 'redefine'; *CGI::multi_param = \&CGI::param; use warnings 'redefine'; $CGI::LIST_CONTEXT_WARN = 0; } + else { + print STDERR "Okay version\n"; + } } # else there is no browser to send fatals to! } --