Browse Source

Bug 26172: Fix return value for ->register

There is a ON DELETE CASCADE clause on this FK

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
20.11.x
Jonathan Druart 10 months ago
parent
commit
932e2d05bc
  1. 1
      Koha/Cash/Register/Action.pm

1
Koha/Cash/Register/Action.pm

@ -57,7 +57,6 @@ Return the register linked to this cash register::action
sub register {
my ($self) = @_;
my $rs = $self->_result->register;
return unless $rs;
return Koha::Cash::Register->_new_from_dbic($rs);
}

Loading…
Cancel
Save