]> wagnertech.de Git - timetracker.git/blobdiff - import.php
Added a TODO comment for the Serbian file.
[timetracker.git] / import.php
index d86628b6cf22dafd323691d85fc97306ea1c1183..23715e080c0c6a9af59871a8a7a96a15b6241be1 100644 (file)
@@ -45,8 +45,7 @@ if ($request->isPost()) {
 
   $import = new ttImportHelper($err);
   $import->importXml();
-  if ($err->no())
-    $messages->add($i18n->getKey('form.import.success'));
+  if ($err->no()) $msg->add($i18n->getKey('form.import.success'));
 } // isPost
 
 $smarty->assign('forms', array($form->getName()=>$form->toArray()) );