diff --git a/htdocs/core/class/conf.class.php b/htdocs/core/class/conf.class.php index b91f6ce9ca7..f4aba2e1688 100644 --- a/htdocs/core/class/conf.class.php +++ b/htdocs/core/class/conf.class.php @@ -231,6 +231,7 @@ class Conf // For backward compatibility // 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->propal->enabled=defined("MAIN_MODULE_PROPALE")?MAIN_MODULE_PROPALE:0;