Skip to content

Commit

Permalink
Merge pull request #159 from univiest/master
Browse files Browse the repository at this point in the history
fix #158 error when adding answer with setting anonymous
  • Loading branch information
NinaHerrmann authored Aug 25, 2023
2 parents 78d153a + 20bbcbe commit f6a3297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/anonymous.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public static function get_userid_mapping($moodleoverflow, $discussionid) {
$userids = $DB->get_records_sql(
'SELECT userid ' .
'FROM {moodleoverflow_posts} ' .
'WHERE discussion = :discussion' .
'WHERE discussion = :discussion ' .
'GROUP BY userid ' .
'ORDER BY MIN(created) ASC;', ['discussion' => $discussionid]);

Expand Down

0 comments on commit f6a3297

Please sign in to comment.