Bugzilla – Attachment 46023 Details for
Bug 11084
Delete biblios on Leader 05 =d
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11084 [QA Followup] - Suppress userenv warning
-Bug-11084-QA-Followup---Suppress-userenv-warning.patch (text/plain), 914 bytes, created by
Brendan Gallagher
on 2015-12-29 19:38:42 UTC
(
hide
)
Description:
Bug 11084 [QA Followup] - Suppress userenv warning
Filename:
MIME Type:
Creator:
Brendan Gallagher
Created:
2015-12-29 19:38:42 UTC
Size:
914 bytes
patch
obsolete
>From d1057b80daa47cfda74f4bd217ced5d90963a3b8 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Wed, 22 Apr 2015 08:58:08 -0400 >Subject: [PATCH] Bug 11084 [QA Followup] - Suppress userenv warning > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> > >Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com> >--- > C4/Items.pm | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/C4/Items.pm b/C4/Items.pm >index 5b5b5d4..26e9342 100644 >--- a/C4/Items.pm >+++ b/C4/Items.pm >@@ -2336,7 +2336,8 @@ sub DelItemCheck { > if ($onloan){ > $error = "book_on_loan" > } >- elsif ( !C4::Context->IsSuperLibrarian() >+ elsif ( defined C4::Context->userenv >+ and !C4::Context->IsSuperLibrarian() > and C4::Context->preference("IndependentBranches") > and ( C4::Context->userenv->{branch} ne $item->{'homebranch'} ) ) > { >-- >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 11084
:
22088
|
22089
|
22172
|
22634
|
36837
|
36838
|
36840
|
37714
|
37954
|
38336
|
38337
|
38361
|
38362
|
38363
|
38364
|
46021
|
46022
| 46023 |
46024