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

--- Comment #17 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 195159
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=195159&action=edit
Bug 40136: (follow-up) Log newly-filled fields when editing a patron

Previously, _unblessed_for_log strips undef/empty fields, so fields
that were blank before an edit were absent from $from_storage. Because
@keys was built only from keys %{$from_storage}, any field that
transitioned from empty to a value was never iterated and the change
went unlogged.

Fix by unioning keys from both old and new state so that added,
changed, and cleared fields are all detected.

-- 
You are receiving this mail because:
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