From 8a2d3c9c6655c05cc153541738a675a5820d033d Mon Sep 17 00:00:00 2001 From: Mark Tompsett Date: Fri, 29 Jun 2012 21:54:44 +0800 Subject: [PATCH] Bug 7630 - Warning on moremember.pl about param without key Move "$error => 1," to its own conditional $template->param() Signed-off-by: Chris Cormack Signed-off-by: Paul Poulain Signed-off-by: Chris Cormack Signed-off-by: Jared Camins-Esakov --- members/moremember.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/members/moremember.pl b/members/moremember.pl index f264377121..c883c21e3c 100755 --- a/members/moremember.pl +++ b/members/moremember.pl @@ -463,7 +463,6 @@ $template->param( relissuecount => $relissuecount, overdues_exist => $overdues_exist, error => $error, - $error => 1, StaffMember => ($category_type eq 'S'), is_child => ($category_type eq 'C'), # reserveloop => \@reservedata, @@ -472,6 +471,7 @@ $template->param( samebranch => $samebranch, quickslip => $quickslip, ); +$template->param( $error => 1 ) if $error; #Get the slip news items my $all_koha_news = &GetNewsToDisplay("slip"); -- 2.39.5