X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/eb55e2f8ca3859482a389795e03b45283e14ef36..20f38d9496f586d33febaa84db236db935e457eb:/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