Skip to content

Commit

Permalink
Merge pull request #1 from catalyst/issue_102_fix
Browse files Browse the repository at this point in the history
Fix for moodleou#102
  • Loading branch information
x-iy authored Dec 3, 2023
2 parents 55a3f76 + e882315 commit cabb28c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion locallib.php
Original file line number Diff line number Diff line change
Expand Up @@ -4058,7 +4058,7 @@ function ouwiki_get_completion_state_lib($cm, $userid, $type) {
if ($ouwiki->completionpages) {
$value = $ouwiki->completionpages <=
$DB->get_field_sql($countsql .
' AND (SELECT MIN (id)
' AND (SELECT MIN(id)
FROM {ouwiki_versions}
WHERE pageid = p.id AND deletedat IS NULL) = v.id',
[$userid, $ouwiki->id]);
Expand Down

0 comments on commit cabb28c

Please sign in to comment.