Correction bug #23252

This commit is contained in:
Rodolphe Quiedeville 2008-05-16 11:05:45 +00:00
parent 614c52b2c0
commit fbba4c44c7

View File

@ -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";