Bug 28762: (follow-up) Remove warning in tests
Looks like a recent bug introduced a superflous warning, we just clean
that up here whilst we're in the code.
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit e45a595996)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
b550d2773e
commit
a38bac4814
|
|
@ -99,7 +99,7 @@ sub store {
|
|||
}
|
||||
|
||||
# Ensure barcode is either defined or undef
|
||||
$self->barcode(undef) if $self->barcode eq '';
|
||||
$self->barcode(undef) if ( defined($self->barcode) && $self->barcode eq '' );
|
||||
|
||||
$self->barcode( C4::Circulation::barcodedecode( $self->barcode ) );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue