[Koha-bugs] [Bug 18443] Get rid of warning 'uninitialized value $user' in C4/Auth.pm

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 18 09:27:10 CEST 2017


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

--- Comment #1 from Marc Véron <veron at veron.ch> ---
Created attachment 62264
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=62264&action=edit
Bug 18443: Get rid of warning 'uninitialized value $user' in C4/Auth.pm

When logging out from OPAC, plack-error.log log and/or opac-error.log
complain about 'uninitialized value $user' in C4/Auth.pm line 187. The
warning is not necessary, this patch removes it.

To test:
- try to trigger warning
- apply patch
- verify that warning no longer occurs
- prove t/db_dependent/Auth.t
- verifiy that SCO still behaves like before (especially if
  you break out from sco path)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list