Bug 8436: Use C4::Context->IsSuperLibrarian()
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
da57aba894
commit
8a48209933
1 changed files with 1 additions and 1 deletions
|
@ -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 ) )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue