Bugzilla – Attachment 73328 Details for
Bug 20479
Superlibrarians cannot log into opac
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20479: (follow-up) Don't try to get flags for database user
Bug-20479-follow-up-Dont-try-to-get-flags-for-data.patch (text/plain), 1004 bytes, created by
Tomás Cohen Arazi (tcohen)
on 2018-03-27 16:14:18 UTC
(
hide
)
Description:
Bug 20479: (follow-up) Don't try to get flags for database user
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2018-03-27 16:14:18 UTC
Size:
1004 bytes
patch
obsolete
>From d2fd488c6b51ce87884db6aa7171f2e911b044af Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Tue, 27 Mar 2018 15:05:57 +0000 >Subject: [PATCH] Bug 20479: (follow-up) Don't try to get flags for database > user > >Login will still break in opac-user.pl, but that seems a bigger problem >not from SCI module > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > C4/Auth.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Auth.pm b/C4/Auth.pm >index 1b24c4fdb1..e0cbbc5677 100644 >--- a/C4/Auth.pm >+++ b/C4/Auth.pm >@@ -204,7 +204,7 @@ sub get_template_and_user { > $in->{template_name} =~ m|sco/| && haspermission( > $user, { self_check => 'self_checkout_module' } > ) >- ) && Koha::Patrons->find({userid=>$user})->flags != 1 >+ ) && Koha::Patrons->find({userid=>$user}) && Koha::Patrons->find({userid=>$user})->flags != 1 > ) > { > $kick_out = 1; >-- >2.16.3
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 20479
:
73311
|
73312
|
73321
|
73326
|
73327
| 73328 |
73329
|
73331
|
73337