Bugzilla – Attachment 43648 Details for
Bug 8436
Add branch limit on checkexpiration.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 8436: Use C4::Context->IsSuperLibrarian()
PASSED-QA-Bug-8436-Use-C4Context-IsSuperLibrarian.patch (text/plain), 839 bytes, created by
Katrin Fischer
on 2015-10-20 15:04:54 UTC
(
hide
)
Description:
[PASSED QA] Bug 8436: Use C4::Context->IsSuperLibrarian()
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2015-10-20 15:04:54 UTC
Size:
839 bytes
patch
obsolete
>From f4dc86f8194f548e809bb894c5d5a02ee25b92f7 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Tue, 25 Aug 2015 13:15:41 +0200 >Subject: [PATCH] [PASSED QA] Bug 8436: Use C4::Context->IsSuperLibrarian() > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >--- > serials/checkexpiration.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/serials/checkexpiration.pl b/serials/checkexpiration.pl >index df18fe2..bb0715a 100755 >--- a/serials/checkexpiration.pl >+++ b/serials/checkexpiration.pl >@@ -107,7 +107,7 @@ if ($date) { > > my $branchname; > my $branches_loop; >-if ( $flags->{superlibrarian} >+if ( C4::Context->IsSuperLibrarian() > or ( ref $flags->{serials} and $flags->{serials}->{superserials} ) > or ( !ref $flags->{serials} and $flags->{serials} == 1 ) ) > { >-- >1.9.1
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 8436
:
11742
|
11746
|
19262
|
35166
|
36062
|
41891
|
43646
|
43647
| 43648 |
43649
|
43650
|
43750
|
43751