We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d55afde + 9fe6e75 commit cf861b6Copy full SHA for cf861b6
classes/tables/userstats_table.php
@@ -263,7 +263,7 @@ private function createstudent($user) {
263
*/
264
private function get_rating_data() {
265
global $DB;
266
- $sqlquery = 'SELECT (ROW_NUMBER() OVER (ORDER BY ratings.id)) AS row_num,
+ $sqlquery = 'SELECT ROW_NUMBER() OVER (ORDER BY ratings.id) AS row_num,
267
discuss.id AS discussid,
268
discuss.userid AS discussuserid,
269
posts.id AS postid,
0 commit comments