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); + } } /* *