diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2013-03-07 21:42:40 -0800 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2013-03-07 21:42:40 -0800 |
commit | d38022db1a3ad57526d44e47ee4b40215f5e7c7b (patch) | |
tree | 9f01d4d0f05c44efa7a418d478c318ef61423118 /includes | |
parent | af0ee456d75304494e3eecfb8a9bd2b232e44fe6 (diff) | |
parent | 827c767fc3025877ad0d1d23e0f15bc35d24b14a (diff) | |
download | pathery-d38022db1a3ad57526d44e47ee4b40215f5e7c7b.tar.xz |
Merge branch 'HEAD' of ssh://git@git.raylu.net/pathery
Diffstat (limited to 'includes')
-rw-r--r-- | includes/datas.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/includes/datas.php b/includes/datas.php index 92cf5eb..f0d9067 100644 --- a/includes/datas.php +++ b/includes/datas.php @@ -809,6 +809,7 @@ function getScores($mapID, $pageNumber = 1, $pageDivide = 10) { timediff(solutions.dateModified, TIMESTAMP(CURDATE())) as diff, users.displayName as display, solutions.moves as moves, + solutions.championPointsWorth as points, users.ID as ID, users.displayColor, users.wallColor, @@ -874,7 +875,8 @@ function getScores($mapID, $pageNumber = 1, $pageDivide = 10) { $medal = 'gold'; // if is blind map. - if ($isBlindMap AND $myBestMoves < $moves) $row['moves'] = '???'; + if ($isBlindMap AND $myBestMoves < $moves) + $row['moves'] = '???'; $output['users'][$i] = $row; $output['users'][$i]['secondsSinceScored'] = $secondsSinceScored; |