diff --git a/htdocs/comm/index.php b/htdocs/comm/index.php index 4b5b1ae1038..c16fe5c81e1 100644 --- a/htdocs/comm/index.php +++ b/htdocs/comm/index.php @@ -49,7 +49,7 @@ if ($user->societe_id > 0) $max=5; -$propalstatic=new Propal($db); +if ($conf->propal->enabled) $propalstatic=new Propal($db);