Skip to content

Commit

Permalink
Oops
Browse files Browse the repository at this point in the history
  • Loading branch information
pudge committed Dec 2, 2002
1 parent 3e977fb commit d0199bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/Stats/stats.pl
Expand Up @@ -43,11 +43,11 @@ sub main {

# from data;SCRIPTNAME;default
#getData('head')
header('', '', { admin => 1 } ) unless $op eq 'graph'
if $ops{$op}[ALLOWED];
header('', '', { admin => 1 } ) unless $op eq 'graph';

# dispatch of op
$ops{$op}[FUNCTION]->($slashdb, $constants, $user, $form, $stats);
$ops{$op}[FUNCTION]->($slashdb, $constants, $user, $form, $stats)
if $ops{$op}[ALLOWED];

footer() unless $op eq 'graph';
}
Expand Down

0 comments on commit d0199bc

Please sign in to comment.