From fbba4c44c73beaaee9138a2f3c652498da2c6d84 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Fri, 16 May 2008 11:05:45 +0000 Subject: [PATCH] Correction bug #23252 --- htdocs/societe.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/societe.class.php b/htdocs/societe.class.php index 75f9b0192da..5c9c13e7efa 100644 --- a/htdocs/societe.class.php +++ b/htdocs/societe.class.php @@ -470,7 +470,7 @@ class Societe extends CommonObject global $conf; // Init data for telephonie module - if ($this->telephonie->enabled && $user && $user->id) + if ($conf->telephonie->enabled && $user && $user->id) { /* Lecture des permissions */ $sql = "SELECT p.pread, p.pwrite, p.pperms";