summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9ce6c32)
raw | patch | inline | side by side (parent: 9ce6c32)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 30 Nov 2006 06:28:53 +0000 (06:28 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 30 Nov 2006 06:28:53 +0000 (06:28 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5255 594d385d-05f5-0310-b6e9-bd551577e9d8
include/functions.inc | patch | blob | history |
diff --git a/include/functions.inc b/include/functions.inc
index 5f8eb2c586cc48f9a50d2e789601f65901512c96..c4edb994ee2a294126b538d8a8cbd56a4b18b3d7 100644 (file)
--- a/include/functions.inc
+++ b/include/functions.inc
} else {
$ldap->search('(objectClass=gotoPrinter)', array('cn'));
}
+ while($attrs = $ldap->fetch()){
+ $res[$attrs['cn'][0]] = $attrs['cn'][0];
+ }
return $res;
}