https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31244

--- Comment #12 from Martin Renvoize <martin.renvo...@ptfs-europe.com> ---
Created attachment 145696
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=145696&action=edit
Bug 31244: [21.11.x] Fix 500 if logout and not logged in

Can't use an undefined value as a HASH reference at /kohadevbox/koha/C4/Auth.pm
line 985
        C4::Auth::checkauth('CGI=HASH(0x5603b7dc4300)', 0,
'HASH(0x5603b2633238)', 'intranet', undef, 'intranet-main.tt') called at
/kohadevbox/koha/C4/Auth.pm line 186
        C4::Auth::get_template_and_user('HASH(0x5603b7b83d08)') called at
/kohadevbox/koha/mainpage.pl line 40

Test plan:
Open a private window
Hit /cgi-bin/koha/mainpage.pl?logout.x=1

Signed-off-by: Sally <sally.hea...@cheshiresharedservices.gov.uk>
Signed-off-by: Victor Grousset/tuxayo <vic...@tuxayo.net>
Rebased for 21.11.x
Signed-off-by: Martin Renvoize <martin.renvo...@ptfs-europe.com>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to