summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e117519)
raw | patch | inline | side by side (parent: e117519)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 28 Aug 2007 09:26:21 +0000 (09:26 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 28 Aug 2007 09:26:21 +0000 (09:26 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7154 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 d9751ee1dfb593e215786539841ee1e6270bb3da..ce1c4c164a75aa61abe17e8e3dbd5279472d3a03 100644 (file)
/* Move dn to the result */
$this->attrs['dhcpNetMask']= array(netmask_to_bits($this->dhcpNetMask));
- if ($this->dhcpRange != ""){
+ if ($this->use_range && !empty($this->dhcpRange)){
$this->attrs['dhcpRange']= array($this->range_start." ".$this->range_stop);
} else {
$this->attrs['dhcpRange']= array();