plack-error.log log and/or opac-error.log complain about 'uninitialized value $user' in C4/Auth.pm line 187.
Created attachment 62264 [details] [review] 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)
Created attachment 62270 [details] [review] [SIGNED-OFF] 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>
Created attachment 62325 [details] [review] 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>
Pushed to master for 17.05, thanks Marc!
This patch has been pushed to 16.11.x and will be in 16.11.07.
Pushed to 3.22.x for 3.22.21