From 3c1407c375153531ef66408b87ef247c24d25286 Mon Sep 17 00:00:00 2001 From: Adrien Saurat Date: Mon, 31 Dec 2012 12:12:02 +0100 Subject: [PATCH] Bug 9330: title field empty when duplicating a patron For a duplicated patron, the "Saluation" information is now empty by default. Signed-off-by: Owen Leonard Signed-off-by: Marcel de Rooy Signed-off-by: Jared Camins-Esakov --- members/memberentry.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/members/memberentry.pl b/members/memberentry.pl index d2302dc7b5..f6d3e5e1e3 100755 --- a/members/memberentry.pl +++ b/members/memberentry.pl @@ -524,8 +524,8 @@ my $roadpopup = CGI::popup_menu(-name=>'streettype', -default=>$default_roadtype ); -my $default_borrowertitle; -$default_borrowertitle=$data{'title'} ; +my $default_borrowertitle = ''; +unless ( $op eq 'duplicate' ) { $default_borrowertitle=$data{'title'} } my($borrowertitle)=GetTitles(); $template->param( title_cgipopup => 1) if ($borrowertitle); my $borrotitlepopup = CGI::popup_menu(-name=>'title', -- 2.39.5