global var

This commit is contained in:
Michael RICOIS 2017-12-04 09:53:55 +01:00
parent 0de40f3283
commit 030d9c812d

View File

@ -86,7 +86,7 @@ class SenseFuel extends Module
public function hookFooter($params)
{
global $smarty;
global $smarty, $site_version;
$smarty->assign(array('display' => $this->display));
$smarty->assign(array('sensefuelversion' => $site_version));