From 10eb5e46a02c73ed17ea4c818d5dc22835288311 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 29 Mar 2024 08:23:57 +0000 Subject: [PATCH] Bug 36368: (QA follow-up) Remove unneeded line As Emmy stated on comment9, this line is indeed unneeded (and wrong). A successful cud-insert/cud-save does not come here. And it is set for add_form, edit_form and duplicate later on. Signed-off-by: Marcel de Rooy Signed-off-by: Katrin Fischer --- members/memberentry.pl | 1 - 1 file changed, 1 deletion(-) diff --git a/members/memberentry.pl b/members/memberentry.pl index c2e6edfdbe..702f2c6898 100755 --- a/members/memberentry.pl +++ b/members/memberentry.pl @@ -601,7 +601,6 @@ if ($nok or !$nodouble){ $op = 'add_form' if ( $op eq 'cud-insert' ); $op = 'edit_form' if ( $op eq 'cud-save' ); %data=%newdata; - $template->param( updtype => ($op eq 'add' ?'I':'M')); # used to check for $op eq "cud-insert"... but we just changed $op! unless ($step){ $template->param( step_1 => 1,step_2 => 1,step_3 => 1, step_4 => 1, step_5 => 1, step_6 => 1, step_7 => 1 ); } -- 2.39.5