From: hickert Date: Wed, 11 Jan 2006 15:10:01 +0000 (+0000) Subject: Added sorting for branch freeze list X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=bfc59eb7700468d3394db245ab6874db10605ec5;p=gosa.git Added sorting for branch freeze list git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2451 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/fai/class_faiManagement.inc b/plugins/admin/fai/class_faiManagement.inc index 099905f38..6a516158f 100644 --- a/plugins/admin/fai/class_faiManagement.inc +++ b/plugins/admin/fai/class_faiManagement.inc @@ -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());