summaryrefslogtreecommitdiffstats
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/playerStats.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/playerStats.php b/includes/playerStats.php
index af3031d..11c103a 100644
--- a/includes/playerStats.php
+++ b/includes/playerStats.php
@@ -139,7 +139,7 @@ function addPlayerChampionPointsForMapsOfTheDay($mapExpireTime)
UPDATE solutions
INNER JOIN mapOfTheDay ON mapOfTheDay.mapID = solutions.mapID
SET solutions.championPointsWorth = ".CP_POINTS_FOR_ATTEMPTING."
- WHERE championPointsWorth = 0
+ WHERE solutions.championPointsWorth = 0
AND mapOfTheDay.mapExpireTime >= '$mapExpireTime'
AND mapOfTheDay.mapExpireTime <= NOW()
";