Bugzilla – Attachment 41891 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]
Bug 8436: Use C4::Context->IsSuperLibrarian()
Bug-8436-Use-C4Context-IsSuperLibrarian.patch (text/plain), 770 bytes, created by
Julian Maurice
on 2015-08-25 11:16:51 UTC
(
hide
)
Description:
Bug 8436: Use C4::Context->IsSuperLibrarian()
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2015-08-25 11:16:51 UTC
Size:
770 bytes
patch
obsolete
>From 1796d315df57c056839477716fff4f24a7824a6a 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] Bug 8436: Use C4::Context->IsSuperLibrarian() > >--- > 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