]> wagnertech.de Git - timetracker.git/blobdiff - cf_custom_field_edit.php
Cosmetic - formatting
[timetracker.git] / cf_custom_field_edit.php
index 796ad1727ab39b7224c83bf5d1c25dcd4282e23a..1f8465903ae209d6a0cedb48654ee44c19cb1f5b 100644 (file)
@@ -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'));
-    }
   }
 }
 
@@ -79,4 +78,3 @@ $smarty->assign('onload', 'onLoad="document.fieldForm.name.focus()"');
 $smarty->assign('title', $i18n->getKey('title.cf_edit_custom_field'));
 $smarty->assign('content_page_name', 'cf_custom_field_edit.tpl');
 $smarty->display('index.tpl');
-?>
\ No newline at end of file