We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 356460c commit d67a70fCopy full SHA for d67a70f
classes/output/verify_certificate_result.php
@@ -90,7 +90,7 @@ public function __construct($issue) {
90
$this->viewurl = template::view_url($issue->code);
91
$this->userprofileurl = new \moodle_url('/user/view.php', ['id' => $issue->userid]);
92
$this->userfullname = @json_decode($issue->data, true)['userfullname'];
93
- $this->certificatename = $issue->certificatename;
+ $this->certificatename = $issue->name ?? $issue->certificatename;
94
$strftimedatetime = get_string("strftimedatetime", "langconfig");
95
$this->timecreated = userdate($issue->timecreated, $strftimedatetime);
96
$this->expires = $issue->expires > 0
0 commit comments