X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/5ef582473f6b329be18ad83c61e053fdcd9c6ed5..74704a7d4ecfb939bbcddeeec397b9de3b85bd2f:/cf_custom_field_edit.php diff --git a/cf_custom_field_edit.php b/cf_custom_field_edit.php index 71ffd39c..1f846590 100644 --- a/cf_custom_field_edit.php +++ b/cf_custom_field_edit.php @@ -68,9 +68,8 @@ if ($request->getMethod() == 'POST') { if ($res) { header('Location: cf_custom_fields.php'); exit(); - } else { + } else $errors->add($i18n->getKey('error.db')); - } } }