https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29184 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fridolin.somers@biblibre.co | |m --- Comment #2 from Fridolin Somers <fridolin.somers@biblibre.com> --- We see in chargelostitem() : if ($usedefaultreplacementcost && $amount == 0 && $defaultreplacecost){ Shouldn't we patch with : $amount = $amount // 0 Items sql table contains : `replacementprice` decimal(28,6) DEFAULT NULL So indeed default in undef. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.