Fix the status page ordering so that it uses the correct tier order

This commit is contained in:
Seth Mos 2009-03-11 03:35:55 +01:00
parent 16654db500
commit 754d81a5fb

View File

@ -91,6 +91,7 @@ include("head.inc");
$priorities[$itemsplit[1]] = true;
}
$priority_count = count($priorities);
ksort($priorities);
echo "<tr>";
foreach($priorities as $number => $tier) {
@ -104,8 +105,7 @@ include("head.inc");
$itemsplit = explode("|", $item);
$priority_arr[$itemsplit[1]][] = $itemsplit[0];
}
// echo print_r($priority_arr, true);
ksort($priority_arr);
$p = 1;
foreach($priority_arr as $number => $tier) {
/* for each priority process the gateways */