X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/b5d95bbf6e8ce2b60c6640cdee5571025524e1a6..387db9f30e6a45e1f25052af26c23ecdd1748e3a:/client_delete.php diff --git a/client_delete.php b/client_delete.php index aea24d30..cdc20b6f 100644 --- a/client_delete.php +++ b/client_delete.php @@ -40,7 +40,7 @@ $id = (int)$request->getParameter('id'); $client = ttClientHelper::getClient($id); $client_to_delete = $client['name']; - + $form = new Form('clientDeleteForm'); $form->addInput(array('type'=>'hidden','name'=>'id','value'=>$id)); $form->addInput(array('type'=>'combobox','name'=>'delete_client_entries', @@ -64,7 +64,7 @@ if ($request->getMethod() == 'POST') { header('Location: clients.php'); exit(); } -} // post +} // POST $smarty->assign('client_to_delete', $client_to_delete); $smarty->assign('forms', array($form->getName()=>$form->toArray()));