Bug 23082: Fatal error editing a restricted patron
In members/memberentry.pl we have to explicitely remove the template's params that are not patron's attributes. Certainly caused by commit1bb6cec902Bug 20287: Fix update of patrons, clean the data before ->store Test plan: Create a restriction for a patron Edit patron's details Remove the restriction => Without this patch you get "No property remove_debarment for Koha::Patron" => With this patch applied the restriction is removed Signed-off-by: Mark Tompsett <mtompset@hotmail.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> (cherry picked from commit8947d5939f) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> (cherry picked from commit0d2ebac764) Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
f60f3ca0e6
commit
de41a7de10
|
|
@ -221,7 +221,7 @@ if ( $op eq 'insert' || $op eq 'modify' || $op eq 'save' || $op eq 'duplicate' )
|
|||
qr/^\d+-DAYS/,
|
||||
qr/^patron_attr_/,
|
||||
qr/^csrf_token$/,
|
||||
qr/^add_debarment$/, qr/^debarred_expiration$/, # We already dealt with debarments previously
|
||||
qr/^add_debarment$/, qr/^debarred_expiration$/, qr/^remove_debarment$/, # We already dealt with debarments previously
|
||||
qr/^housebound_chooser$/, qr/^housebound_deliverer$/,
|
||||
qr/^select_city$/,
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue