X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/a331cbeee550ed74a5333c6ac361418161d84bd7..d8baf4e8391fbbe974c58f599fe57059a8cad01c:/invoice_add.php diff --git a/invoice_add.php b/invoice_add.php index 4a1c4834..0efc99ee 100644 --- a/invoice_add.php +++ b/invoice_add.php @@ -86,8 +86,9 @@ if ($request->isPost()) { if (ttInvoiceHelper::createInvoice($fields)) { header('Location: invoices.php'); exit(); - } + } else { $err->add($i18n->getKey('error.db')); + } } } // isPost