my @categories=C4::Category->all;
$template->param(
branchloop=>(defined $branch?GetBranchesLoop($branch):GetBranchesLoop()),
my @categories=C4::Category->all;
$template->param(
branchloop=>(defined $branch?GetBranchesLoop($branch):GetBranchesLoop()),