From 86095a639541924299439d35057ef667a706b386 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 --- 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 a97eb62d35b..105b8d01003 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.34.1