X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/93c6ec51f6bb239eb52c3e0b0d1adf87f57796ee..c8c6d6d:/bin/mozilla/ir.pl diff --git a/bin/mozilla/ir.pl b/bin/mozilla/ir.pl index 042fd4be9..06f6d059b 100644 --- a/bin/mozilla/ir.pl +++ b/bin/mozilla/ir.pl @@ -667,6 +667,12 @@ sub post { exit; } + if ($myconfig{mandatory_departments} && !$form->{department_id}) { + $form->{saved_message} = $::locale->text('You have to specify a department.'); + update(); + exit; + } + remove_emptied_rows(); &validate_items;