]> wagnertech.de Git - timetracker.git/blobdiff - import.php
Switched to using shorter ActionErrors functions
[timetracker.git] / import.php
index 7d61e038e7773f357017b69ba8bd716dd4d01faf..f604c4ff6217789844cfa79d8982b3e5b713d0aa 100644 (file)
@@ -45,7 +45,7 @@ if ($request->getMethod() == 'POST') {
 
   $import = new ttImportHelper($errors);
   $import->importXml();
-  if ($errors->isEmpty())
+  if ($errors->no())
     $messages->add($i18n->getKey('form.import.success'));
 } // POST