Bugzilla – Attachment 25844 Details for
Bug 11893
Get rid of warning from IsSuperLibrarian
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11893: Get rid of warning from IsSuperLibrarian
Bug-11893-Get-rid-of-warning-from-IsSuperLibrarian.patch (text/plain), 857 bytes, created by
Marcel de Rooy
on 2014-03-05 13:44:57 UTC
(
hide
)
Description:
Bug 11893: Get rid of warning from IsSuperLibrarian
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2014-03-05 13:44:57 UTC
Size:
857 bytes
patch
obsolete
>From 32cb2298d1a1670b65973863983a216addc95f2e Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Wed, 5 Mar 2014 14:42:15 +0100 >Subject: [PATCH] Bug 11893: Get rid of warning from IsSuperLibrarian >Content-Type: text/plain; charset=utf-8 > >Test plan: >[1] Do not yet apply this patch >[2] Add a patron. Do not set permissions. >[3] Login with this patron in OPAC. >[4] Check the log for warning on Context.pm line 1254. >[5] Apply patch. >[6] Login again. No warning anymore? >--- > C4/Context.pm | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/C4/Context.pm b/C4/Context.pm >index f58092d..bf87efa 100644 >--- a/C4/Context.pm >+++ b/C4/Context.pm >@@ -1251,7 +1251,7 @@ sub IsSuperLibrarian { > return 1; > } > >- return $userenv->{flags} % 2; >+ return ($userenv->{flags}//0) % 2; > } > > 1; >-- >1.7.7.6
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 11893
:
25844
|
25881