]> ruin.nu Git - ndwebbie.git/commitdiff
Let officers see all members
authorMichael Andreen <harv@ruin.nu>
Sat, 22 Dec 2007 11:09:13 +0000 (12:09 +0100)
committerMichael Andreen <harv@ruin.nu>
Sat, 22 Dec 2007 11:09:13 +0000 (12:09 +0100)
NDWeb/Pages/Points.pm

index fb69b2ace3cbca3d434aae4e11799495b2c84381..11482abbd1879f92c8bc5ca7203beefa44c00fe6 100644 (file)
@@ -46,7 +46,7 @@ sub render_body {
        $order = 'ASC' if ($type eq 'rank');
 
        my $limit = 'LIMIT 10';
-       $limit = '' if $self->isHC;
+       $limit = '' if $self->isOfficer;
 
        my $query = $DBH->prepare(qq{SELECT username,defense_points,attack_points,scan_points,humor_points
                ,(attack_points+defense_points+scan_points/20) as total_points, rank, count(NULLIF(rc.launched,FALSE)) AS raid_points