From d1a590dd5b15fdd46b3f051ab5e74f3a22dde7f3 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Mon, 25 Apr 2022 09:19:06 -0300 Subject: [PATCH] Bug 29936: (follow-up) Remove useless warining Signed-off-by: Tomas Cohen Arazi Signed-off-by: Fridolin Somers --- C4/SIP/ILS/Item.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/SIP/ILS/Item.pm b/C4/SIP/ILS/Item.pm index a97eb62d35..105b8d0100 100644 --- a/C4/SIP/ILS/Item.pm +++ b/C4/SIP/ILS/Item.pm @@ -276,7 +276,7 @@ sub sip_circulation_status { elsif ( grep { $_->{itemnumber} == $self->{itemnumber} } @{ $self->{hold_attached} } ) { return '08'; # waiting on hold shelf } - elsif ( $self->{location} eq 'CART' ) { + elsif ( $self->{location} and $self->{location} eq 'CART' ) { return '09'; # waiting to be re-shelved } elsif ( $self->{damaged} ) { -- 2.39.5