From 30cc70ec2cd739c26be1533ecbf88334fc40ae88 Mon Sep 17 00:00:00 2001 From: "Eloy Lafuente (stronk7)" Date: Wed, 3 Feb 2021 23:58:15 +0100 Subject: [PATCH] MDL-70741 capability overview: missing whitespace after placeholder --- admin/tool/capability/locallib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/tool/capability/locallib.php b/admin/tool/capability/locallib.php index 0e51ed67b0f..983fe72e1ce 100644 --- a/admin/tool/capability/locallib.php +++ b/admin/tool/capability/locallib.php @@ -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).