summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 11a7f5e)
raw | patch | inline | side by side (parent: 11a7f5e)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 9 Aug 2007 09:25:49 +0000 (09:25 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 9 Aug 2007 09:25:49 +0000 (09:25 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7022 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_dhcpSubnet.inc | patch | blob | history |
diff --git a/plugins/admin/systems/class_dhcpSubnet.inc b/plugins/admin/systems/class_dhcpSubnet.inc
index c43fc7a2a1f417b5ec44b9982dba853504f1721b..49723962d57eeb6ac3696e406a8684826cb7db85 100644 (file)
$this->$attr= $attrs[$attr][0];
}
}
- if (isset($attrs['dhcpRange'])){
+ if (isset($attrs['dhcpRange']) && count($attrs['dhcpRange'])){
$this->use_range= TRUE;
list($this->range_start, $this->range_stop)= preg_split('/\s+/', $this->dhcpRange);
}