From: hickert Date: Fri, 18 Apr 2008 08:27:42 +0000 (+0000) Subject: Added sorting for ldap bases X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1cc7d6e727f64cfebbfb155361d2296b5f085738;p=gosa.git Added sorting for ldap bases git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10552 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 4b3164c40..91ffbb1d0 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc @@ -103,6 +103,8 @@ class workstartup extends plugin $this->gotoLdapServers[] = preg_replace("/^[0-9]*:/","",$value); } } + natcasesort($this->gotoLdapServerList); + if(!count($this->gotoLdapServers) && $this->member_of_ogroup){ $this->gotoLdap_inherit = TRUE; }