MDL-70741 capability overview: missing whitespace after placeholder

This commit is contained in:
Eloy Lafuente (stronk7)
2021-02-04 00:01:22 +01:00
parent 1605bb60f1
commit 30cc70ec2c
+1 -1
View File
@@ -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).