summaryrefslogtreecommitdiffstats
path: root/do.php
diff options
context:
space:
mode:
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) {