diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/datas.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/datas.php b/includes/datas.php index 41456a1..62f664e 100644 --- a/includes/datas.php +++ b/includes/datas.php @@ -1076,7 +1076,8 @@ function loadChallengeListing($userIdUnsanitized) $userID = mysql_escape_string($userIdUnsanitized); $sql = " SELECT maps.ID AS mapID, maps.challengeTier, maps.name AS name, - challengeSolutions.dateSolved, challengeSolutions.challengeID AS challengeID + challengeSolutions.dateSolved, challengeSolutions.challengeID AS challengeID, + maps.challengeSuborder, challenges.ordering FROM challenges LEFT JOIN maps ON challenges.mapID = maps.ID LEFT JOIN challengeSolutions ON challenges.ID = challengeSolutions.challengeID AND challengeSolutions.userID = '$userID' |