summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3c13977)
raw | patch | inline | side by side (parent: 3c13977)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 10 Apr 2008 11:51:27 +0000 (11:51 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 10 Apr 2008 11:51:27 +0000 (11:51 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10322 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/systems/admin/systems/class_termDNS.inc | patch | blob | history |
diff --git a/gosa-plugins/systems/admin/systems/class_termDNS.inc b/gosa-plugins/systems/admin/systems/class_termDNS.inc
index 06cb3ada7f8cd9242a017dd163edbc679aca2787..940da119d8d0a9bfaa0d6e82b66ed036019ca4d6 100644 (file)
/* Add all additional ipHostNumbers now
*/
- $this->attrs['ipHostNumber'] = array($this->ipHostNumber);
+ if(!empty($this->ipHostNumber)){
+ $this->attrs['ipHostNumber'] = array($this->ipHostNumber);
+ }
foreach($this->additionalHostNumbers as $value){
$this->attrs['ipHostNumber'][] = $value;
}