From 4cf643dd179f2784af068a5bbfbc0168ab9ad591 Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Thu, 15 Nov 2018 16:07:16 +0000 Subject: [PATCH] Added error output. --- WEB-INF/templates/footer.tpl | 2 +- admin_group_edit.php | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 89261e30..b1b51b77 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.18.12.4427 | Copyright © Anuko | +  Anuko Time Tracker 1.18.12.4428 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} diff --git a/admin_group_edit.php b/admin_group_edit.php index 6306bdd0..bb0fc413 100644 --- a/admin_group_edit.php +++ b/admin_group_edit.php @@ -95,7 +95,8 @@ if ($request->isPost()) { if ($result) { header('Location: admin_groups.php'); exit(); - } + } else + $err->add($i18n->get('error.db')); } if ($request->getParameter('btn_cancel')) { -- 2.20.1