summaryrefslogtreecommitdiffstats
path: root/do.php
diff options
context:
space:
mode:
authorPatrick Davison <snapwilliam@gmail.com>2012-11-29 15:00:11 -0800
committerPatrick Davison <snapwilliam@gmail.com>2012-11-29 15:00:11 -0800
commit1399d45c68e7d14fc1f3e8f2b5451669cce4ffa4 (patch)
treeab28080501f9dc8e4ffdc29742f45e2acf3fdcbf /do.php
parent23b7ddabd4c2c6286a9b3ef0791befbc6f4ef89f (diff)
downloadpathery-1399d45c68e7d14fc1f3e8f2b5451669cce4ffa4.tar.xz
Lots of fixes and changes.
nofollow on login links. tutorial fix changed how $accepted works changed how $wallColor/Emblem works fixed a bug when multiple players scored at the same momment.
Diffstat (limited to 'do.php')
-rw-r--r--do.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/do.php b/do.php
index b58b1d2..329af35 100644
--- a/do.php
+++ b/do.php
@@ -188,7 +188,7 @@ if ($_GET['r'] == 'getpath') {
WHERE
`mapID` = '$mapID' AND
`userID` = users.ID
- ORDER BY `moves` DESC, `dateModified` ASC
+ ORDER BY `moves` DESC, `dateModified` ASC, solutions.ID DESC
LIMIT 1";
$result = mysql_query($sql);
if (mysql_num_rows($result) > 0) {