projects
/
koha-ffzg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da57aba
)
Bug 8436: Use C4::Context->IsSuperLibrarian()
author
Julian Maurice
<julian.maurice@biblibre.com>
Tue, 25 Aug 2015 11:15:41 +0000
(13:15 +0200)
committer
Tomas Cohen Arazi
<tomascohen@theke.io>
Wed, 4 Nov 2015 14:11:47 +0000
(11:11 -0300)
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
serials/checkexpiration.pl
patch
|
blob
|
history
diff --git
a/serials/checkexpiration.pl
b/serials/checkexpiration.pl
index
df18fe2
..
bb0715a
100755
(executable)
--- 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 ) )
{