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