summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-09-01 15:35:35 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-09-01 15:35:35 +0100
commit9689831ce863927da2f916b03f08c91c09d609bf (patch)
treec1c30cfdcf7e8c5857f3517aa043e4c97e1fc5e4
parentb5700f7590634354fc1dd9cebffd6c54d2d328c6 (diff)
downloadwebadmin-9689831ce863927da2f916b03f08c91c09d609bf.tar.gz
Return regular, unsorted, unpaginated entries when no parameters are specified to sort_and_slice()
-rw-r--r--lib/Auth/LDAP.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Auth/LDAP.php b/lib/Auth/LDAP.php
index df4f960..7f1c034 100644
--- a/lib/Auth/LDAP.php
+++ b/lib/Auth/LDAP.php
@@ -1002,6 +1002,8 @@ class LDAP extends Net_LDAP3 {
$entries = array_reverse($entries, TRUE);
}
}
+ } else {
+ $entries = $result->entries(TRUE);
}
return $entries;