From b45777fde0ee84db0e8cdf4fd05057db90453afa Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Mon, 1 Sep 2003 12:26:46 +0000 Subject: [PATCH] Ajout test sur la classe contact --- htdocs/actioncomm.class.php3 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/htdocs/actioncomm.class.php3 b/htdocs/actioncomm.class.php3 index 238807a5f78..770f0bc667b 100644 --- a/htdocs/actioncomm.class.php3 +++ b/htdocs/actioncomm.class.php3 @@ -44,7 +44,10 @@ class ActionComm $this->db = $db; $this->societe = new Societe($db); $this->author = new User($db); - $this->contact = new Contact($db); + if (class_exists("Contact")) + { + $this->contact = new Contact($db); + } } /* *