Skip to content
Snippets Groups Projects
Commit 4e4a82f7 authored by Rodolphe Quiedeville's avatar Rodolphe Quiedeville
Browse files

Syntax erreur sur define

parent d2c090e3
No related branches found
No related tags found
No related merge requests found
...@@ -94,7 +94,7 @@ class Contact ...@@ -94,7 +94,7 @@ class Contact
print $this->db->error() . '<br>' . $sql; 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(); $ds = dolibarr_ldap_connect();
...@@ -265,7 +265,7 @@ class Contact ...@@ -265,7 +265,7 @@ class Contact
print $this->db->error() . '<br>' . $sql; 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(); $ds = dolibarr_ldap_connect();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment