Update ldap.php

This commit is contained in:
FusionPBX 2019-08-15 01:55:23 -06:00 committed by GitHub
parent 9818dc99c6
commit b00dd51573
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ class plugin_ldap {
//unique username - per domain
$sql .= "and domain_uuid=:domain_uuid ";
}
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement = $db->prepare($sql);
if ($_SESSION["users"]["unique"]["text"] != "global") {
$prep_statement->bindParam(':domain_uuid', $this->domain_uuid);
}