Added entity column on cf_custom_fields.php page.
[timetracker.git] / cf_custom_fields.php
index 6de626c..d877e7c 100644 (file)
@@ -54,7 +54,7 @@ if ($request->isPost()) {
 
   $fields = CustomFields::getFields();
   // At this time only one custom field is supported. Disable the Add button if we already have one or more custom fields.
-  if (count($fields) > 0)
+  if (count($fields) > 0 && !isTrue('CF_DEBUG'))
     $form->getElement('btn_add')->setEnabled(false);
 }