Incrementing version for the previous change
[timetracker.git] / cf_dropdown_option_edit.php
index bd19043..eff95b1 100644 (file)
@@ -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'));
-    }
   }
 }
 
@@ -72,4 +71,3 @@ $smarty->assign('onload', 'onLoad="document.optionEditForm.name.focus()"');
 $smarty->assign('title', $i18n->getKey('title.cf_edit_dropdown_option'));
 $smarty->assign('content_page_name', 'cf_dropdown_option_edit.tpl');
 $smarty->display('index.tpl');
-?>
\ No newline at end of file