Permalink
Browse files

Fix query with ambiguous column.

  • Loading branch information...
1 parent 08e60b5 commit 181683e9ec4c72bf4ad7c044452fe439100ca3a6 @jamiemccarthy jamiemccarthy committed Feb 5, 2004
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/Stats/Stats.pm
View
@@ -374,7 +374,7 @@ sub getReverseMods {
: "0";
my $ar = $self->sqlSelectAllHashrefArray(
"moderatorlog.uid AS muid,
- nickname, tokens, karma,
+ nickname, tokens, users_info.karma AS karma,
( SUM( IF( moderatorlog.val=-1,
IF(points=5, $down5, 0),
IF(points<=$upmax, $upsub-points*$upmul, 0) ) )

0 comments on commit 181683e

Please sign in to comment.