Code

Closes #284
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 28 Nov 2007 09:47:45 +0000 (09:47 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 28 Nov 2007 09:47:45 +0000 (09:47 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7926 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/fai/class_faiManagement.inc

index 1396a0a3dff331ebd16cb7fe735f020963b811d1..67446d5e43680236dad965d03f51a7b437e57d57 100644 (file)
@@ -847,8 +847,10 @@ class faiManagement extends plugin
     }
     $tmp = get_all_releases_from_base($base,true);
     foreach($tmp as $dn => $name){
-      $ret[$dn]=$name;
+      $ret[$name]=$dn;
     }
+    natcasesort($ret);
+    $ret = array_flip($ret);
     return ($ret);
   }