mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
Fix LDAP filtering, I think.
This commit is contained in:
parent
d567722a61
commit
7be7aa0595
@ -359,8 +359,7 @@
|
||||
|
||||
//echo '<br>first total="'.$total.'"';
|
||||
// Now, remove duplicate rows
|
||||
if (!$PHP_VERSION) global $PHP_VERSION;
|
||||
if (floor($PHP_VERSION ) == 4) {
|
||||
if (floor(phpversion()) == 4) {
|
||||
$tmp = array_unique($ldap_fields);
|
||||
$ldap_fields = $tmp;
|
||||
} else {
|
||||
|
@ -210,7 +210,7 @@
|
||||
if ($allmatched)
|
||||
{
|
||||
if($DEBUG) { echo $ldap_fields[$i]["uidnumber"][0].' matched all!'."<br>"; }
|
||||
$new_ldap[$i] = $ldap_fields[$i];
|
||||
$new_ldap[] = $ldap_fields[$i];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user