Bugzilla – Attachment 73321 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), 940 bytes, created by
Nick Clemens (kidclamp)
on 2018-03-27 15:07:30 UTC
(
hide
)
Description:
Bug 20479 (follow-up) Don't try to get flags for database user
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2018-03-27 15:07:30 UTC
Size:
940 bytes
patch
obsolete
>From a5d30ebc1b3811b52e3f7de57938a1ab570954d4 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 >--- > C4/Auth.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Auth.pm b/C4/Auth.pm >index 09df5a9..362f9f9 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.1.4
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