]> wagnertech.de Git - timetracker.git/blobdiff - mobile/access_denied.php
Implemented a configurable punch in mode as per issue #53.
[timetracker.git] / mobile / access_denied.php
index 836579a5a91241b5fbbc9f76d69c7d9be87f46d1..b0bc002810832f261fd37c54798c52dda6d6851b 100644 (file)
@@ -29,7 +29,7 @@
 require_once('../initialize.php');
 
 $err->add($i18n->getKey('error.access_denied'));
-if ($auth->isAuthenticated()) $GLOBALS['SMARTY']->assign('authenticated', true); // Used in header.tpl for menu display.
+if ($auth->isAuthenticated()) $smarty->assign('authenticated', true); // Used in header.tpl for menu display.
 
 $smarty->assign('title', $i18n->getKey('label.error'));
 $smarty->assign('content_page_name', 'mobile/access_denied.tpl');