Improved access checks in notifications config.
[timetracker.git] / plugins.php
index e036c17..a19c1e1 100644 (file)
@@ -174,6 +174,7 @@ if ($request->isPost() && $request->getParameter('btn_save')) {
 
 $smarty->assign('forms', array($form->getName()=>$form->toArray()));
 $smarty->assign('onload', 'onLoad="handlePluginCheckboxes();"');
+$smarty->assign('user_exists', $user->exists());
 $smarty->assign('title', $i18n->get('title.plugins'));
 $smarty->assign('content_page_name', 'plugins.tpl');
 $smarty->display('index.tpl');