summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 016a2d4)
raw | patch | inline | side by side (parent: 016a2d4)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 29 Aug 2007 07:35:30 +0000 (07:35 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 29 Aug 2007 07:35:30 +0000 (07:35 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7160 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_dhcpNetwork.inc | patch | blob | history |
diff --git a/plugins/admin/systems/class_dhcpNetwork.inc b/plugins/admin/systems/class_dhcpNetwork.inc
index 76cc6fe9ac061c17a39feba63cbd1ff794fd018d..a8c751a72df9520f754822f3a6ce7eaed959a94d 100644 (file)
$smarty->assign("filename", "");
}
if (isset($this->statements['next-server'])){
- $smarty->assign("nextserver", trim($this->statements['next-server'], '"'));
+ $smarty->assign("nextserver", $this->statements['next-server']);
} else {
$smarty->assign("nextserver", "");
}
if ($_POST["$val"] == ''){
unset($this->statements["$key"]);
} else {
- $this->statements["$key"]= '"'.get_post("$val").'"';
+
+ /* Only quote filename values */
+ if(in_array($key,array("filename"))){
+ $this->statements["$key"]= '"'.get_post("$val").'"';
+ }else{
+ $this->statements["$key"]= get_post("$val");
+ }
}
}
}
}
-
+// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
?>