Fix file structure view
authorJamie Cameron <jcameron@webmin.com>
Sun, 24 May 2009 06:25:54 +0000 (06:25 +0000)
committerJamie Cameron <jcameron@webmin.com>
Sun, 24 May 2009 06:25:54 +0000 (06:25 +0000)
dhcpd/index.cgi

index 3da83b3..44cb422 100755 (executable)
@@ -306,7 +306,7 @@ if ($horder == 0) {
        }
 elsif ($horder == 1) {
        @host = (@host, @group);
-       @host = sort { $a->{'order'} <=> $b->{'order'} } @host;
+       @host = sort { $a->{'line'} <=> $b->{'line'} } @host;
        }
 elsif ($horder == 2) {
        @host = sort { $a->{'values'}->[0] cmp $b->{'values'}->[0] } @host;