summaryrefslogtreecommitdiffstats
path: root/includes/playerStats.php
diff options
context:
space:
mode:
authorBlueRaja <BlueRaja.admin@gmail.com>2013-03-08 06:24:46 -0600
committerBlueRaja <BlueRaja.admin@gmail.com>2013-03-08 06:24:46 -0600
commit7014b5c60fd3f3339c0c2810e0206af734a03980 (patch)
tree5268e5dc4a7c19888f6253cd617f02c445c61192 /includes/playerStats.php
parent00602dfba709008085c2d52260164f3b6ee3979d (diff)
downloadpathery-7014b5c60fd3f3339c0c2810e0206af734a03980.tar.xz
Um, fixed earning points for trying, for real this time.
Diffstat (limited to 'includes/playerStats.php')
-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()
";