Bugzilla – Attachment 25881 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]
[Signed-off] Bug 11893: Get rid of warning from IsSuperLibrarian
Signed-off-Bug-11893-Get-rid-of-warning-from-IsSup.patch (text/plain), 997 bytes, created by
Marc Véron
on 2014-03-06 06:27:10 UTC
(
hide
)
Description:
[Signed-off] Bug 11893: Get rid of warning from IsSuperLibrarian
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2014-03-06 06:27:10 UTC
Size:
997 bytes
patch
obsolete
>From c406a6df9df0cc69f09cdd60ac8dd4c31cb9655b 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] [Signed-off] Bug 11893: Get rid of warning from > IsSuperLibrarian >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >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? > >Followed test plan. Patch is OK. >Signed-off-by: Marc Véron <veron@veron.ch> >--- > C4/Context.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >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.10.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 11893
:
25844
| 25881