diff --git a/C4/Items.pm b/C4/Items.pm index a7f06dd876..65bf8bc971 100644 --- a/C4/Items.pm +++ b/C4/Items.pm @@ -1858,6 +1858,7 @@ sub ToggleNewStatus { WHERE 1 |; for my $condition ( @$conditions ) { + next unless $condition->{field}; if ( grep { $_ eq $condition->{field} } @item_columns or grep { $_ eq $condition->{field} } @biblioitem_columns