X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=invoice_delete.php;h=0d4735950f457625b9538f88137332396573453c;hb=7fafd0cdc53c376b557a5504af53dacdfbcdb533;hp=89f132d4b1efc9dd3983931315aea7e959010534;hpb=a7ba11adfecf6cb906749efe5abce688363aef07;p=timetracker.git diff --git a/invoice_delete.php b/invoice_delete.php index 89f132d4..0d473595 100644 --- a/invoice_delete.php +++ b/invoice_delete.php @@ -56,14 +56,14 @@ if ($request->isPost()) { header('Location: invoices.php'); exit(); } else - $errors->add($i18n->getKey('error.db')); + $err->add($i18n->getKey('error.db')); } else - $errors->add($i18n->getKey('error.db')); + $err->add($i18n->getKey('error.db')); } else if ($request->getParameter('btn_cancel')) { header('Location: invoices.php'); exit(); } -} // POST +} // isPost $smarty->assign('invoice_to_delete', $invoice_to_delete); $smarty->assign('forms', array($form->getName()=>$form->toArray()));