projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d385653
)
Abteilungspflicht für Dialogbuchen: Saubere Fehlermeldung und Behandlung
author
Jan Büren
<jan@kivitendo-premium.de>
Mon, 17 Jul 2017 13:19:43 +0000
(15:19 +0200)
committer
Jan Büren
<jan@kivitendo-premium.de>
Mon, 17 Jul 2017 13:19:43 +0000
(15:19 +0200)
bin/mozilla/gl.pl
patch
|
blob
|
history
diff --git
a/bin/mozilla/gl.pl
b/bin/mozilla/gl.pl
index
91a15c2
..
6766116
100644
(file)
--- a/
bin/mozilla/gl.pl
+++ b/
bin/mozilla/gl.pl
@@
-1339,9
+1339,7
@@
sub post {
my $locale = $main::locale;
if ($::myconfig{mandatory_departments} && !$form->{department_id}) {
- $form->{saved_message} = $::locale->text('You have to specify a department.');
- update();
- exit;
+ $form->error($locale->text('You have to specify a department.'));
}
$form->{title} = $locale->text("$form->{title} General Ledger Transaction");