Skip to content

Commit 5be9889

Browse files
authored
Update ratings.php with missing space in SQL (#200)
1 parent c061592 commit 5be9889

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classes/ratings.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ public static function moodleoverflow_get_reputation_instance($moodleoverflowid,
395395
$sql .= " AND p.parent <> 0 ";
396396
}
397397

398-
$sql .= "ORDER BY r.postid ASC";
398+
$sql .= " ORDER BY r.postid ASC";
399399

400400
$params = [$userid, $userid, $moodleoverflowid, anonymous::EVERYTHING_ANONYMOUS];
401401
$records = $DB->get_records_sql($sql, $params);

0 commit comments

Comments
 (0)