From cf0638f2382486c24c9d92f9a8c3d80def40e672 Mon Sep 17 00:00:00 2001 From: Philippe Grand Date: Thu, 3 Mar 2011 21:44:23 +0000 Subject: [PATCH] fix : Undefined property --- htdocs/core/class/conf.class.php | 1 + 1 file changed, 1 insertion(+) 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;