diff options
author | Simon Rettberg | 2014-06-06 20:31:42 +0200 |
---|---|---|
committer | Simon Rettberg | 2014-06-06 20:31:42 +0200 |
commit | b9f67a0ac4dcdc745e14dd4f4097c5560e90a1e1 (patch) | |
tree | 08e85b79bbc024d5497f2d65b744822ff8abf35e /inc/render.inc.php | |
parent | More stuff for system status page (diff) | |
download | slx-admin-b9f67a0ac4dcdc745e14dd4f4097c5560e90a1e1.tar.gz slx-admin-b9f67a0ac4dcdc745e14dd4f4097c5560e90a1e1.tar.xz slx-admin-b9f67a0ac4dcdc745e14dd4f4097c5560e90a1e1.zip |
Reboot functionality on system status page
Diffstat (limited to 'inc/render.inc.php')
-rw-r--r-- | inc/render.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/render.inc.php b/inc/render.inc.php index 9bea4639..2d69c322 100644 --- a/inc/render.inc.php +++ b/inc/render.inc.php @@ -164,7 +164,7 @@ class Render */ public static function parse($template, $params = false) { - if (is_array($params)) + if (is_array($params) || $params === false) $params['token'] = Session::get('token'); return self::$mustache->render(self::getTemplate($template), $params); } |