summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9ea4685)
raw | patch | inline | side by side (parent: 9ea4685)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 29 May 2006 04:09:41 +0000 (04:09 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 29 May 2006 04:09:41 +0000 (04:09 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3531 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_servDNSeditZoneEntries.inc | patch | blob | history |
diff --git a/plugins/admin/systems/class_servDNSeditZoneEntries.inc b/plugins/admin/systems/class_servDNSeditZoneEntries.inc
index d451283438ec45b0d27e4a64c34502c1610295f9..3a13bde7dbfac17fc1f0b18238cb336979970ad1 100644 (file)
$this->Devices[$attrs['relativeDomainName'][0]]['OrigCn'] = $attrs['relativeDomainName'][0];
}
- if(!count($this->Devices)){
- $this->disableDialog = true;
+ $ldap->cat($this->dn,array("objectClass"));
+
+ $this->disableDialog = true;
+ if(count($this->Devices)|| $ldap->count()){
+ $this->disableDialog = false;
}
}