Code

Added sorting for branch freeze list
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 11 Jan 2006 15:10:01 +0000 (15:10 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 11 Jan 2006 15:10:01 +0000 (15:10 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2451 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/fai/class_faiManagement.inc

index 099905f380034c6620da3a3b0b0e79c3b5ed80d7..6a516158f0216339484ed506a0ca8b9bdd89ef5f 100644 (file)
@@ -775,8 +775,10 @@ class faiManagement extends plugin
 
                /* Assign all reguired vars to template engine */
 
-    $smarty->assign("branchKeys",array_flip($this->getBranches()));
-    $smarty->assign("branches",$this->getBranches());
+    $branches = $this->getBranches();
+    asort($branches);
+    $smarty->assign("branchKeys",array_flip($branches));
+    $smarty->assign("branches",$branches);
     
                $smarty->assign("faihead"               , $faihead);    
                $smarty->assign("failist"               , $divlist->DrawList());