Renamed errors to err to keep things shorter
[timetracker.git] / client_delete.php
index e566455..e22704f 100644 (file)
@@ -55,10 +55,10 @@ if ($request->isPost()) {
         header('Location: clients.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'));
 
   if ($request->getParameter('btn_cancel')) {
     header('Location: clients.php');