X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=plugins%2Fadmin%2Fsystems%2Fclass_terminalService.inc;h=305c732248b287b472f48e8f32c2548339779504;hb=7f51b7c557fe5fb3c73b5bde15856fbfdb08efbb;hp=bd3ee4652e7e298531bdd814ef213d9868a208d3;hpb=4f507bf6c24fd9a5c50928b3a0c334ba5529c42d;p=gosa.git diff --git a/plugins/admin/systems/class_terminalService.inc b/plugins/admin/systems/class_terminalService.inc index bd3ee4652..305c73224 100644 --- a/plugins/admin/systems/class_terminalService.inc +++ b/plugins/admin/systems/class_terminalService.inc @@ -194,6 +194,8 @@ class termservice extends plugin $this->hardware_list["automatic"]= _("automatic"); ksort($this->hardware_list); + /* Convert gotoLpdEnable */ + $this->gotoLpdEnable= preg_match("/yes/",$this->gotoLpdEnable); /* Load hardware list */ $ldap= $this->config->get_ldap_link(); @@ -394,6 +396,9 @@ class termservice extends plugin /* Save to LDAP */ function save() { + /* Convert to string */ + $this->gotoLpdEnable= $this->gotoLpdEnable?"Yes":"No"; + plugin::save(); /* Strip out 'default' values */