-
Bug
-
Resolution: Fixed
-
Minor
-
3.9.3, 3.10
-
MOODLE_310_STABLE, MOODLE_39_STABLE
-
MOODLE_310_STABLE, MOODLE_39_STABLE
-
MDL-70409-master -
- Setup a course with a chat, and two users
- Join the chat as each of the users, in different browsers
- Confirm chat works as expected
A few pages in chat use require() instead of require_once() to import their lib.php.
This will cause the chat to break if mod/chat/lib.php is imported earlier in the page load - as can happen with certain filters (like Ally).
I did a quick grep, and this is the only place in core where a mod imports its lib.php using require().