Fix: Syntax error
This commit is contained in:
parent
3f35b00d51
commit
56070c7ee3
@ -238,7 +238,7 @@ if (! empty($_SESSION["disablemodules"]))
|
||||
$disabled_modules=explode(',',$_SESSION["disablemodules"]);
|
||||
foreach($disabled_modules as $module)
|
||||
{
|
||||
$conf->$module->enabled=false;
|
||||
if ($module) $conf->$module->enabled=false;
|
||||
}
|
||||
}
|
||||
|
||||
@ -271,7 +271,7 @@ if (sizeof($conf->need_smarty) > 0)
|
||||
if (isset($conf->browser->phone))
|
||||
{
|
||||
include_once(DOL_DOCUMENT_ROOT."/core/class/smartphone.class.php");
|
||||
|
||||
|
||||
$smartphone = new Smartphone($db);
|
||||
$smartphone->phone = $conf->browser->phone;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user