diff --git a/lib/Generic_Item.pm b/lib/Generic_Item.pm index 136cd7bd9..9efbe159c 100644 --- a/lib/Generic_Item.pm +++ b/lib/Generic_Item.pm @@ -901,7 +901,7 @@ TODO sub get_fp_location { my ($self) = @_; - if (! defined @{$$self{location}} ) { return } + if (! @{$$self{location}} ) { return } return @{$$self{location}}; }