Bug 10515: make behavior of library category fetchers consistent with other fetchers
[koha.git] / catalogue / search.pl
index d4e98b1..f8dab56 100755 (executable)
@@ -237,7 +237,7 @@ my @branch_loop = map {
     $branches->{$a}->{branchname} cmp $branches->{$b}->{branchname}
 } keys %$branches;
 
-my $categories = GetBranchCategories(undef,'searchdomain');
+my $categories = GetBranchCategories('searchdomain');
 
 $template->param(branchloop => \@branch_loop, searchdomainloop => $categories);