From 8ae165b6d3befd1aa8e177d01e5ffe76857b2853 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 22 Apr 2009 06:45:59 +0000 Subject: [PATCH] Fix: error if propal module is not enable --- htdocs/comm/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();