Renamed errors to err to keep things shorter
[timetracker.git] / notification_delete.php
index 6723824..cd0d748 100644 (file)
@@ -52,9 +52,9 @@ if ($request->isPost()) {
         header('Location: notifications.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: notifications.php');
     exit();