From 9da5a782f7806e526624925da284c9b95a0a5209 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: Chris Cormack --- members/memberentry.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/members/memberentry.pl b/members/memberentry.pl index 3248a661bd..7e192d685b 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