[Koha-bugs] [Bug 11077] Correct silent warnings in C4/Auth.pm

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 18 05:26:38 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11077

--- Comment #5 from M. Tompsett <mtompset at hotmail.com> ---
Test case to check, which makes a difference whether '' or 'None' is used.

Apply patch.
Make sure you aren't doing cas authentication (not normally configured)
DELETE AllowPKIAuth system preference. -- an upgrade gone bad somehow.
Go to staff client.

DO NOT FILL IN ANYTHING.
Click Login
This triggers the modified if statement ('' ne 'None') and the inner else.
This triggers a warning about $retuserid being uninitialized.

Change the line to be 'None'
DO NOT FILL IN ANYTHING.
Click Login
This triggers nothing as far as I can tell, because there is nothing else at
the same level.

Hopefully I didn't get them backwards. :)

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


More information about the Koha-bugs mailing list