From 1cc7d6e727f64cfebbfb155361d2296b5f085738 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 18 Apr 2008 08:27:42 +0000 Subject: [PATCH] Added sorting for ldap bases git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10552 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../goto/admin/systems/goto/class_workstationStartup.inc | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.30.2