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>
This commit is contained in:
parent
57f58f29b1
commit
932e2d05bc
1 changed files with 0 additions and 1 deletions
|
@ -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…
Reference in a new issue