Refactoring white space
[timetracker.git] / cf_dropdown_options.php
index c8713ca..a7718fb 100644 (file)
@@ -39,7 +39,7 @@ if (!ttAccessCheck(right_manage_team)) {
 $field_id = $request->getParameter('field_id');
 $options = CustomFields::getOptions($field_id);
 if (false === $options)
-  $errors->add($i18n->getKey('error.db'));
+  $err->add($i18n->getKey('error.db'));
 
 $form = new Form('dropdownOptionsForm');
 
@@ -49,4 +49,3 @@ $smarty->assign('options', $options);
 $smarty->assign('title', $i18n->getKey('title.cf_dropdown_options'));
 $smarty->assign('content_page_name', 'cf_dropdown_options.tpl');
 $smarty->display('index.tpl');
-?>
\ No newline at end of file