https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26558

--- Comment #2 from Emmi Takkinen <[email protected]> ---
Readding guarantor parameters when error occurs should to the trick. This could
be achived same way it is done in bug 24113, but at the end of following code
block in memberentry.pl:

if ($nok or !$nodouble){
    $op="add" if ($op eq "insert");
    $op="modify" if ($op eq "save");
    %data=%newdata; 
    $template->param( updtype => ($op eq 'add' ?'I':'M'));      # used to check
for $op eq "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 );
    }  
}

However this really feels like pointless repetition and there should probably
be a better way to do this. Or way to make these parameters persist.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to