Skip to content

Commit

Permalink
Webservice: List issued certificates
Browse files Browse the repository at this point in the history
The complaints from the GitHub Actions report.
  • Loading branch information
michallohnisky committed Oct 3, 2024
1 parent 35c5812 commit 0f2a9f4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion classes/external.php
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,9 @@ public static function list_issues($timecreatedfrom = null, $userid = null, $cus
$output = [];

list($namefields, $nameparams) = \core_user\fields::get_sql_fullname();
$sql = "SELECT ci.*, $namefields as fullname, u.username, u.email, ct.id as templateid, ct.name as templatename, ct.contextid
$sql = "SELECT ci.*,
$namefields as fullname, u.username, u.email,
ct.id as templateid, ct.name as templatename, ct.contextid
FROM {customcert_issues} ci
JOIN {user} u
ON ci.userid = u.id
Expand Down

0 comments on commit 0f2a9f4

Please sign in to comment.