index eb61c48225a8b32e98a8bdd2bbc11c06f30937ed..cbe987da8c538d95166ff7ea6b967d9084192aa9 100644 (file)
/* attribute list for save action */
var $objectclasses= array('top', 'dhcpGroup', 'dhcpOptions');
- function dhcpGroup($attrs)
+ function dhcpGroup(&$attrs)
{
/* Load statements / options */
dhcpPlugin::dhcpPlugin($attrs);
/* Check values */
- function check($cache)
+ function check()
{
$message= array();
+ $cache = $this->parent->dhcpObjectCache;
+
/* All required fields are set? */
if ($this->cn == ""){
$message[]= _("Required field 'Name' is not filled.");