mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
39da8c1a35
The query was doing: WHERE c.id ... AND ... OR ... OR ... Which equates to: WHERE (c.id ... AND ...) OR ... OR ... Adding parens to: WHERE (c.id ... AND (... OR ... OR ...))