From 4a14977534107a77592a452e84e484ac4ac39e83 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 15 Jul 2010 12:28:25 -0400 Subject: [PATCH] Fix for Bug 5013 "New patron" menu button broken on patron select screen --- .../prog/en/includes/patron-toolbar.inc | 2 +- members/members-home.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-toolbar.inc index d7c87c4..c508af0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-toolbar.inc @@ -23,7 +23,7 @@ var newmenu = [ - + { text: "", url: "/cgi-bin/koha/members/memberentry.pl?op=add&categorycode=" }, diff --git a/members/members-home.pl b/members/members-home.pl index e497f4a..04fc557 100755 --- a/members/members-home.pl +++ b/members/members-home.pl @@ -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", -- 1.7.0.4