X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=cf_dropdown_option_edit.php;h=eff95b1dc95e7fb6005eba8a9fe246c0ebd904e1;hb=bdc4cdb7f5efbd4b273be6def7652e9011b977a6;hp=ddea967b7813dfe8be79637c9e97269f40122755;hpb=5ef582473f6b329be18ad83c61e053fdcd9c6ed5;p=timetracker.git diff --git a/cf_dropdown_option_edit.php b/cf_dropdown_option_edit.php index ddea967b..eff95b1d 100644 --- a/cf_dropdown_option_edit.php +++ b/cf_dropdown_option_edit.php @@ -61,9 +61,8 @@ if ($request->getMethod() == 'POST') { $field_id = CustomFields::getFieldIdForOption($cl_id); header("Location: cf_dropdown_options.php?field_id=$field_id"); exit(); - } else { + } else $errors->add($i18n->getKey('error.db')); - } } }