summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 19de1e7)
raw | patch | inline | side by side (parent: 19de1e7)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 3 Apr 2008 13:19:34 +0000 (13:19 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 3 Apr 2008 13:19:34 +0000 (13:19 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10148 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/devices/class_deviceGeneric.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/devices/class_deviceGeneric.inc b/gosa-plugins/goto/admin/devices/class_deviceGeneric.inc
index d9ab5bf762f9cd34edafafda4c19331af7f6bb1c..a92a9cbb7d7295c5e3857d5177064f7049e1ebf6 100644 (file)
$ldap->search("(&(objectClass=gotoEnvironment)(gotoHotplugDeviceDN=".$this->dn."))",array("cn","gotoHotplugDeviceDN"));
$skip = FALSE;
$obj = array();
- while($cnt && $attrs = $ldap->fetch()){
+ while($attrs = $ldap->fetch()){
$obj[$ldap->getDN()]= $attrs['cn'][0];
$skip =TRUE;
}