X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=export.php;h=7ccce33088e4196265119874a48a9ae2d26897d0;hb=074e8daef75c2b729e75f350b52935a6b7ecfba8;hp=fb0e7567a5717a0441f230ec0e1d8266800e76c3;hpb=9e82b53fc5d8cb1e54b5fde774fa68a916f28b4c;p=timetracker.git diff --git a/export.php b/export.php index fb0e7567..7ccce330 100644 --- a/export.php +++ b/export.php @@ -31,7 +31,7 @@ import('ttExportHelper'); import('form.Form'); // Access check. -if (!ttAccessCheck(right_export_team)) { +if (!ttAccessAllowed('export_data')) { header('Location: access_denied.php'); exit(); } @@ -75,7 +75,7 @@ if ($request->isPost()) { exit; } else $err->add($i18n->getKey('error.sys')); -} // POST +} // isPost $smarty->assign('forms', array($form->getName()=>$form->toArray())); $smarty->assign('title', $i18n->getKey('title.export'));