diff --git a/C4/Auth.pm b/C4/Auth.pm index 7655a4ff79..d891105a2b 100644 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -398,7 +398,7 @@ sub get_template_and_user { $template->param( dateformat => C4::Context->preference('dateformat') ); } - $template->param(auth_forwarded_hash => $in->{'query'}->param('auth_forwarded_hash')); + $template->param(auth_forwarded_hash => scalar $in->{'query'}->param('auth_forwarded_hash')); # these template parameters are set the same regardless of $in->{'type'}