Syntax erreur sur define

This commit is contained in:
Rodolphe Quiedeville 2004-02-02 13:07:30 +00:00
parent d2c090e3ac
commit 4e4a82f774

View File

@ -94,7 +94,7 @@ class Contact
print $this->db->error() . '<br>' . $sql;
}
if (define('MAIN_MODULE_LDAP') && MAIN_MODULE_LDAP)
if (defined('MAIN_MODULE_LDAP') && MAIN_MODULE_LDAP)
{
$ds = dolibarr_ldap_connect();
@ -265,7 +265,7 @@ class Contact
print $this->db->error() . '<br>' . $sql;
}
if (define('MAIN_MODULE_LDAP') && MAIN_MODULE_LDAP)
if (defined('MAIN_MODULE_LDAP') && MAIN_MODULE_LDAP)
{
$ds = dolibarr_ldap_connect();