X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/1ff9da9f4d0ec4eefdb3c8bb07ca06f862556181..7987d7a92af48a6fdd1422766cd1efba2d04be86:/bin/mozilla/ic.pl diff --git a/bin/mozilla/ic.pl b/bin/mozilla/ic.pl index 62758be3e..51be87c0c 100644 --- a/bin/mozilla/ic.pl +++ b/bin/mozilla/ic.pl @@ -3064,9 +3064,12 @@ sub update { sub save { $lxdebug->enter_sub(); - # check if there is a part number + # check if there is a part number - commented out, cause there is an automatic allocation of numbers # $form->isblank("partnumber", $locale->text(ucfirst $form->{item}." Part Number missing!")); + # check if there is a description + $form->isblank("description", $locale->text("Part Description missing!")); + if ($form->{obsolete}) { $form->error( $locale->text(