[Koha-bugs] [Bug 18538] OPAC database user login internal server error

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 4 18:23:56 CEST 2017


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

Marc Véron <veron at veron.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #63101|0                           |1
        is obsolete|                            |

--- Comment #2 from Marc Véron <veron at veron.ch> ---
Created attachment 63134
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=63134&action=edit
Bug 18538: OPAC databse user login internal server error

Reproduce:
1. Go to OPAC
2. Login with the database user
3. Observe Internal Server Error

Check your logs:
Can't call method "is_debarred" on an undefined value at
/home/koha/kohaclone/opac/opac-user.pl line 96.

This patch fixes the mentioned crash.

To test:
1. Reproduce the issue with above test plan
2. Apply this patch
3. Go to OPAC
4. Login with the database user
5. Observe successful login

Bug reproduced, is fixed by this patch.
Signed-off-by: Marc Véron <veron at veron.ch>

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


More information about the Koha-bugs mailing list