Code

Fucking fake
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 6 Oct 2006 15:33:20 +0000 (15:33 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 6 Oct 2006 15:33:20 +0000 (15:33 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4870 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_terminalService.inc

index bd3ee4652e7e298531bdd814ef213d9868a208d3..2779986921f66762e73301db26a4224c31ede072 100644 (file)
@@ -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);