]> ruin.nu Git - ndwebbie.git/commitdiff
No cov op target
authorMichael Andreen <harv@ruin.nu>
Tue, 4 Sep 2007 14:33:49 +0000 (16:33 +0200)
committerMichael Andreen <harv@ruin.nu>
Tue, 4 Sep 2007 14:33:49 +0000 (16:33 +0200)
ND/Web/Pages/CovOp.pm

index d673be765ae655957d911e5a80ebf0b8476efd0c..c1c9a046f60a1eca83ccb729fa0cd59cf9447b46 100644 (file)
@@ -40,7 +40,7 @@ sub render_body {
        $self->{TITLE} = 'CovOp Targets';
        my $DBH = $self->{DBH};
 
-       return $self->noAccess unless $self->isMember;
+       return $self->noAccess unless $self->isHC;
 
        my $show = q{AND ((planet_status IS NULL OR NOT planet_status IN ('Friendly','NAP')) AND  (relationship IS NULL OR NOT relationship IN ('Friendly','NAP')))};
        $show = '' if defined param('show') && param('show') eq 'all';