https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14390 --- Comment #54 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- (In reply to Jacek Ablewicz from comment #53)
(In reply to Marcel de Rooy from comment #49)
But take care with $type that you get from CalcFine. It may not be what you expect it to be ..
Looks like $type argument passed to UpdateFine() is always NULL / undef, setting it to the custom string is not possible in Administration -> Circulation and fines rules, or anywhere else in the system (not implemented?). But in case it's not NULL in the database, it affects just a fine description and the log entry.
There doesn't seem to be anything wrong with it - ?
Well anything? :) These kind of things make maintaining code only harder. They implicitly suggest something while it is not there. -- You are receiving this mail because: You are watching all bug changes.