From b36a7120260716916947dd72bf419bd03ae620e5 Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 6 Oct 2006 15:33:20 +0000 Subject: [PATCH] Fucking fake git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4870 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_terminalService.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/admin/systems/class_terminalService.inc b/plugins/admin/systems/class_terminalService.inc index bd3ee4652..277998692 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= ($this->gotoLpdEnable == "yes"); /* Load hardware list */ $ldap= $this->config->get_ldap_link(); @@ -407,6 +409,9 @@ class termservice extends plugin } } + /* Convert to string */ + $this->gotoLpdEnable= $this->gotoLpdEnable?"yes":"no"; + /* Write back to ldap */ $ldap= $this->config->get_ldap_link(); $ldap->cd($this->dn); -- 2.30.2