X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/9e82b53fc5d8cb1e54b5fde774fa68a916f28b4c..d9b4512fae9de17f4bc9d77c7532db6ada9bf8c3:/import.php 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'));