Fix Moodle Code Checker complaints
This commit is contained in:
parent
0208efa585
commit
1343d64310
1 changed files with 1 additions and 1 deletions
|
@ -274,7 +274,7 @@ class certificate {
|
||||||
$extrafields = \core_user\fields::for_identity($context)->get_required_fields();
|
$extrafields = \core_user\fields::for_identity($context)->get_required_fields();
|
||||||
|
|
||||||
$ufields = \core_user\fields::for_userpic()->including(...$extrafields);
|
$ufields = \core_user\fields::for_userpic()->including(...$extrafields);
|
||||||
$ufields = $ufields->get_sql('u', false, '','', false)->selects;
|
$ufields = $ufields->get_sql('u', false, '', '', false)->selects;
|
||||||
$sql = "SELECT $ufields, ci.id as issueid, ci.code, ci.timecreated
|
$sql = "SELECT $ufields, ci.id as issueid, ci.code, ci.timecreated
|
||||||
FROM {user} u
|
FROM {user} u
|
||||||
INNER JOIN {customcert_issues} ci
|
INNER JOIN {customcert_issues} ci
|
||||||
|
|
Loading…
Reference in a new issue