X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=client_edit.php;h=747ed2b8a68593294fc10c3ee27830adb072bcad;hb=b027832862272283d9203c994ec8fd39f6196887;hp=373263cf5e703e5a655285126742cc8bb08a2680;hpb=012557ba7bce0dc28a88e0ef02957e0031f6cce0;p=timetracker.git diff --git a/client_edit.php b/client_edit.php index 373263cf..747ed2b8 100644 --- a/client_edit.php +++ b/client_edit.php @@ -91,7 +91,7 @@ if ($request->getMethod() == 'POST') { header('Location: clients.php'); exit(); } else - $errors->add($i18n->getKey('error.db')); + $errors->add($i18n->getKey('error.db')); } else $errors->add($i18n->getKey('error.client_exists')); } @@ -113,7 +113,7 @@ if ($request->getMethod() == 'POST') { $errors->add($i18n->getKey('error.client_exists')); } } -} // post +} // POST $smarty->assign('forms', array($form->getName()=>$form->toArray())); $smarty->assign('title', $i18n->getKey('title.edit_client'));