X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=import.php;h=d86628b6cf22dafd323691d85fc97306ea1c1183;hb=eb55e2f8ca3859482a389795e03b45283e14ef36;hp=d10ee00681a09dfbd90eca2df79e93bd8bd18d73;hpb=a7ba11adfecf6cb906749efe5abce688363aef07;p=timetracker.git diff --git a/import.php b/import.php index d10ee006..d86628b6 100644 --- a/import.php +++ b/import.php @@ -43,11 +43,11 @@ $form->addInput(array('type'=>'submit','name'=>'btn_submit','value'=>$i18n->getK if ($request->isPost()) { - $import = new ttImportHelper($errors); + $import = new ttImportHelper($err); $import->importXml(); - if ($errors->no()) + if ($err->no()) $messages->add($i18n->getKey('form.import.success')); -} // POST +} // isPost $smarty->assign('forms', array($form->getName()=>$form->toArray()) ); $smarty->assign('title', $i18n->getKey('title.import'));