X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/46efaf453010f2744b53ff402b9691d2cd2382ec..35cd4452:/SL/IR.pm diff --git a/SL/IR.pm b/SL/IR.pm index 55987afcf..e2f65753c 100644 --- a/SL/IR.pm +++ b/SL/IR.pm @@ -1344,7 +1344,7 @@ sub retrieve_item { push @{ $ref->{matches} ||= [] }, $::locale->text('Model') . ': ' . join ', ', map { $_->{model} } @{ $mm_by_id{$ref->{id}} }; } - if ($ref->{ean} eq $::form->{"partnumber_$i"}) { + if (($::form->{"partnumber_$i"} ne '') && ($ref->{ean} eq $::form->{"partnumber_$i"})) { push @{ $ref->{matches} ||= [] }, $::locale->text('EAN') . ': ' . $ref->{ean}; }