From: hickert Date: Fri, 16 May 2008 13:45:15 +0000 (+0000) Subject: Updated workstation startup X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7aa64af2fcc36f5d5a9daa793f77266c73f7bd88;p=gosa.git Updated workstation startup -Don't break ldaps:// entries in ldap server select box git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10936 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc b/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc index d9a93a41b..2bbf2faee 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc @@ -586,7 +586,7 @@ class workstartup extends plugin if(!in_array($entry,$this->gotoLdapServers)){ /* Convert old style entry */ - if (!preg_match('%:ldap://%', $entry)){ + if (!preg_match('%:ldap[s]*://%', $entry)){ $entry= "ldap://".preg_replace('/^([^:]+):/', '\1/', $entry); /* Beautify new style entries */