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

Emmi Takkinen <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Text to go in the|                            |Using value 0.00 in
      release notes|                            |"Expired hold charge" rule
                   |                            |on circulation rules caused
                   |                            |Koha to die with exception
                   |                            |Koha::Exceptions::Account::
                   |                            |AmountNotPositive when
                   |                            |expired hold charge was
                   |                            |added for patron. This was
                   |                            |caused by error in if
                   |                            |statement in method
                   |                            |Koha::Hold->cancel which
                   |                            |allowed value 0.00 to be
                   |                            |passed to method add_debit.
                   |                            |This method then raised
                   |                            |exception since value 0.00
                   |                            |is not positive. This patch
                   |                            |fixes the erroneous if
                   |                            |statement in method
                   |                            |Koha::Hold->cancel.

--- Comment #12 from Emmi Takkinen <[email protected]> ---
Added release notes, feel free to adjust.

-- 
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