From: hickert Date: Tue, 23 Jan 2007 10:22:52 +0000 (+0000) Subject: Added gotoModules to attributes. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=56ca9fc5f9fc3098ea9d64b496b73ccb0ba1e2c5;p=gosa.git Added gotoModules to attributes. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5592 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_terminalStartup.inc b/plugins/admin/systems/class_terminalStartup.inc index ddf9c4836..d84b8c229 100644 --- a/plugins/admin/systems/class_terminalStartup.inc +++ b/plugins/admin/systems/class_terminalStartup.inc @@ -24,7 +24,7 @@ class termstartup extends plugin /* attribute list for save action */ - var $attributes= array("gotoLdapServer", "gotoBootKernel", "gotoKernelParameters"); + var $attributes= array("gotoLdapServer", "gotoBootKernel", "gotoKernelParameters","gotoModules"); var $objectclasses= array("GOhard"); /* Helper */ @@ -40,6 +40,7 @@ class termstartup extends plugin /* Get arrays */ foreach (array("gotoModules") as $val){ + $this->$val = array(); if (isset($this->attrs["$val"]["count"])){ for ($i= 0; $i<$this->attrs["count"]; $i++){ if (isset($this->attrs["$val"][$i])){ @@ -393,6 +394,7 @@ class termstartup extends plugin /* Write back to ldap */ $ldap= $this->config->get_ldap_link(); $ldap->cd($this->dn); + $this->cleanup(); $ldap->modify ($this->attrs);