Fix for Bug 5037 - If patron category is empty it shouldn't show
[koha.git] / members / members-home.pl
index e497f4a..04fc557 100755 (executable)
@@ -54,7 +54,7 @@ if($quicksearch){
 my @categories=C4::Category->all;
 $template->param(
     branchloop=>(defined $branch?GetBranchesLoop($branch):GetBranchesLoop()),
-       categoryloop=>\@categories,
+       categories=>\@categories,
 );
 $template->param( 
         "AddPatronLists_".C4::Context->preference("AddPatronLists")=> "1",