Renamed errors to err to keep things shorter
[timetracker.git] / user_delete.php
index 8ea639c..092dcb4 100644 (file)
@@ -84,7 +84,7 @@ if ($request->isPost()) {
       }
       exit();
     } else {
-      $errors->add($i18n->getKey('error.db'));
+      $err->add($i18n->getKey('error.db'));
     }
   }
   if ($request->getParameter('btn_cancel')) {