X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=import.php;h=23715e080c0c6a9af59871a8a7a96a15b6241be1;hb=7fafd0cdc53c376b557a5504af53dacdfbcdb533;hp=e4a74eea53b88b9de498421e43a499df68c19586;hpb=9e82b53fc5d8cb1e54b5fde774fa68a916f28b4c;p=timetracker.git diff --git a/import.php b/import.php index e4a74eea..23715e08 100644 --- a/import.php +++ b/import.php @@ -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'));