http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8198 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@biblibre.co | |m --- Comment #2 from Jonathan Druart <jonathan.druart@biblibre.com> --- Maybe the following change would do the trick: diff --git a/C4/Context.pm b/C4/Context.pm index cc93af4..14ce1c7 100644 --- a/C4/Context.pm +++ b/C4/Context.pm @@ -1085,7 +1085,7 @@ sub userenv { if (defined $var and defined $context->{"userenv"}->{$var}) { return $context->{"userenv"}->{$var}; } else { - return; + return {}; } } Need to be confirmed. -- You are receiving this mail because: You are watching all bug changes.