diff --git a/htdocs/comm/index.php b/htdocs/comm/index.php index 8898c8a6dfb..55fea480e00 100644 --- a/htdocs/comm/index.php +++ b/htdocs/comm/index.php @@ -1,7 +1,7 @@ * Copyright (C) 2004-2009 Laurent Destailleur - * Copyright (C) 2005-2008 Regis Houssin + * Copyright (C) 2005-2009 Regis Houssin * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -89,7 +89,7 @@ $now=gmmktime(); $html = new Form($db); $formfile = new FormFile($db); $companystatic=new Societe($db); -$propalstatic=new Propal($db); +if ($conf->propal->enabled) $propalstatic=new Propal($db); llxHeader();