fix : Undefined property
This commit is contained in:
parent
8878af0872
commit
cf0638f238
@ -231,6 +231,7 @@ class Conf
|
|||||||
|
|
||||||
// For backward compatibility
|
// For backward compatibility
|
||||||
// TODO Replace this->xxx->enabled by this->modulename->enabled to remove this code
|
// TODO Replace this->xxx->enabled by this->modulename->enabled to remove this code
|
||||||
|
if ( isset($this->compta->enabled))
|
||||||
$this->compta->enabled=$this->comptabilite->enabled;
|
$this->compta->enabled=$this->comptabilite->enabled;
|
||||||
$this->propal->enabled=defined("MAIN_MODULE_PROPALE")?MAIN_MODULE_PROPALE:0;
|
$this->propal->enabled=defined("MAIN_MODULE_PROPALE")?MAIN_MODULE_PROPALE:0;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user