]> git.koha-community.org Git - koha.git/commit
Bug 18443: Get rid of warning 'uninitialized value $user' in C4/Auth.pm
authorMarc Véron <veron@veron.ch>
Tue, 18 Apr 2017 07:21:45 +0000 (09:21 +0200)
committerKatrin Fischer <katrin.fischer.83@web.de>
Fri, 21 Apr 2017 23:02:06 +0000 (01:02 +0200)
commitf41f4bb90c8e6af6b86a6c56e6311e6cf69cbfad
tree737c30bd36dbf1c7fb386265fa79d7cef202ba16
parent73a57f5073c757da9f82cacd078526c784e50636
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)

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 7cbd9561271c1ac9ca3ccfd8ef257259a341f464)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
C4/Auth.pm