Added error output.
authorNik Okuntseff <support@anuko.com>
Thu, 15 Nov 2018 16:07:16 +0000 (16:07 +0000)
committerNik Okuntseff <support@anuko.com>
Thu, 15 Nov 2018 16:07:16 +0000 (16:07 +0000)
WEB-INF/templates/footer.tpl
admin_group_edit.php

index 89261e3..b1b51b7 100644 (file)
@@ -12,7 +12,7 @@
       <br>
       <table cellspacing="0" cellpadding="4" width="100%" border="0">
         <tr>
-          <td align="center">&nbsp;Anuko Time Tracker 1.18.12.4427 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+          <td align="center">&nbsp;Anuko Time Tracker 1.18.12.4428 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
             <a href="https://www.anuko.com/lp/tt_4.htm" target="_blank">{$i18n.footer.credits}</a> |
             <a href="https://www.anuko.com/lp/tt_5.htm" target="_blank">{$i18n.footer.license}</a> |
             <a href="https://www.anuko.com/lp/tt_7.htm" target="_blank">{$i18n.footer.improve}</a>
index 6306bdd..bb0fc41 100644 (file)
@@ -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')) {