Switched to using shorter ActionErrors functions
[timetracker.git] / task_delete.php
index 3329264..96044fe 100644 (file)
@@ -59,7 +59,7 @@ if ($request->getMethod() == 'POST') {
     header('Location: tasks.php');
     exit();
   }
-} // post
+} // POST
 
 $smarty->assign('task_to_delete', $task_to_delete);
 $smarty->assign('forms', array($form->getName()=>$form->toArray()));
@@ -67,4 +67,3 @@ $smarty->assign('onload', 'onLoad="document.taskDeleteForm.btn_cancel.focus()"')
 $smarty->assign('title', $i18n->getKey('title.delete_task'));
 $smarty->assign('content_page_name', 'task_delete.tpl');
 $smarty->display('index.tpl');
-?>
\ No newline at end of file