1
0
mirror of https://github.com/moodle/moodle.git synced 2025-04-25 10:26:17 +02:00

MDL-70741 capability overview: missing whitespace after placeholder

This commit is contained in:
Eloy Lafuente (stronk7) 2021-02-03 23:58:15 +01:00
parent 407133af76
commit b74beab57c

@ -53,7 +53,7 @@ function tool_capability_calculate_role_data($capability, array $roles) {
$sql = 'SELECT DISTINCT con.path, 1
FROM {context} con
JOIN {role_capabilities} rc ON rc.contextid = con.id
WHERE capability = ?' .
WHERE capability = ? ' .
$sqlroletest .
// Context path should never be null, but can happen in old database with
// bad data (e.g. a course_module where the corresponding course no longer exists).