[Koha-bugs] [Bug 24815] Koha::Cash::Register relations should return sets not undef
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Mar 5 17:58:24 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24815
Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jonathan.druart at bugs.koha-c
| |ommunity.org
--- Comment #2 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
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 receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list