Code

Made gotoLpdEnable case insensitve
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 21 Nov 2006 11:17:24 +0000 (11:17 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 21 Nov 2006 11:17:24 +0000 (11:17 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5175 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_terminalService.inc

index 4beecf9e0d14c0ebbc70c4dff2336a3bb3235264..305c732248b287b472f48e8f32c2548339779504 100644 (file)
@@ -195,7 +195,7 @@ class termservice extends plugin
     ksort($this->hardware_list);
 
     /* Convert gotoLpdEnable */
-    $this->gotoLpdEnable= ($this->gotoLpdEnable == "Yes");
+    $this->gotoLpdEnable= preg_match("/yes/",$this->gotoLpdEnable);
 
       /* Load hardware list */
     $ldap= $this->config->get_ldap_link();