X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=admin%2Fbranches.pl;h=5c71b0c4ce51160dc242de57f821581767df239e;hb=9573f444fcd6f56b2c9248d6bc8d52525a62d518;hp=d8fa236fa05f8c8ad9493fb68dbb237e13d60d74;hpb=ac2da44b69397296266694267deffca3ac102068;p=koha.git diff --git a/admin/branches.pl b/admin/branches.pl index d8fa236fa0..5c71b0c4ce 100755 --- a/admin/branches.pl +++ b/admin/branches.pl @@ -383,7 +383,7 @@ sub branchinfotable { categorytype => $cat->{'categorytype'}, }; } - push @branchcategories, { categorytype => $ctype , $ctype => 1 , catloop => \@categories}; + push @branchcategories, { categorytype => $ctype , $ctype => 1 , catloop => ( @categories ? \@categories : undef) }; } $innertemplate->param( branches => \@loop_data,