From d3022c3caf1c9765211407dbf670db4578660457 Mon Sep 17 00:00:00 2001 From: Henri-Damien LAURENT Date: Tue, 18 Sep 2007 18:38:28 +0200 Subject: [PATCH] Fixing previous fix. Signed-off-by: Chris Cormack --- members/memberentry.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/members/memberentry.pl b/members/memberentry.pl index 5665b9a29d..719cb823dd 100755 --- a/members/memberentry.pl +++ b/members/memberentry.pl @@ -219,7 +219,8 @@ if ($delete){ print $input->redirect("/cgi-bin/koha/deletemem.pl?member=$borrowernumber"); } if ($nok){ - $template->param( "op$op" => 1); + $op="add" if ($op eq "insert"); + $op="modify" if ($op eq "save"); %data=%newdata; $template->param( updtype => ($op eq "insert"?'I':'M'),step_1=>1,step_2=>1,step_3=>1,allsteps=>1); } -- 2.39.5