[Koha-bugs] [Bug 36368] Cannot save new patron after error

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 20 14:26:30 CET 2024


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

Emmi Takkinen <emmi.takkinen at koha-suomi.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #2 from Emmi Takkinen <emmi.takkinen at koha-suomi.fi> ---
We declare param "op" too early in memberentry.pl line 166. This line

>$template->param( "op" => $op );
was like this before bug 34478:

>$template->param( "add" => 1 ) if ( $op eq 'add' );

Add this point, $op is still "cud-insert". So when error occurs, instead of
displaying add form, we display modify form. I assume this is easily fixed just
by moving line 166 further in code.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list