https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24815 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomascohen@gmail.com --- Comment #3 from Tomás Cohen Arazi <tomascohen@gmail.com> --- (In reply to Jonathan Druart from comment #2)
I will double check tomorrow but I think the following one is not correct:
@@ -86,7 +84,6 @@ sub last_cashup { { order_by => { '-desc' => [ 'timestamp', 'id' ] }, rows => 1 } )->single;
- return unless $rs; return Koha::Cash::Register::Action->_new_from_dbic($rs); }
You are right. We return undef on the singular case -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.