Bug 23271: Replace search_limited with search_with_library_limits
[srvgit] / members / members-home.pl
index 4dc06b1..8ae49fa 100755 (executable)
@@ -44,7 +44,7 @@ if( Koha::Libraries->search->count < 1){
     $template->param(no_branches => 1);
 }
 
-my @categories = Koha::Patron::Categories->search_limited;
+my @categories = Koha::Patron::Categories->search_with_library_limits;
 if(scalar(@categories) < 1){
     $no_add = 1;
     $template->param(no_categories => 1);