Commit 756cc54b authored by Ad Schellevis's avatar Ad Schellevis

(legacy) wrong sorting function, keep index (firewall_aliases.php)

parent 116d5e29
...@@ -191,7 +191,7 @@ $( document ).ready(function() { ...@@ -191,7 +191,7 @@ $( document ).ready(function() {
<td>&nbsp;</td> <td>&nbsp;</td>
</tr> </tr>
<?php <?php
usort($a_aliases, function($a, $b){ uasort($a_aliases, function($a, $b){
return strnatcmp($a['name'], $b['name']); return strnatcmp($a['name'], $b['name']);
}); });
foreach ($a_aliases as $i=> $alias){ foreach ($a_aliases as $i=> $alias){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment