Skip to content

Commit

Permalink
Merge branch 'MDL-72945-310' of git://github.com/sarjona/moodle into …
Browse files Browse the repository at this point in the history
…MOODLE_310_STABLE
  • Loading branch information
vmdef committed Nov 5, 2021
2 parents 47e5bf7 + 054d49f commit 1047779
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/badgeslib.php
Original file line number Diff line number Diff line change
Expand Up @@ -1025,7 +1025,7 @@ function badges_get_default_issuer() {
$issuer['name'] = $SITE->fullname ? $SITE->fullname : $SITE->shortname;
}
$issuer['url'] = $issuerurl->out(false);
$issuer['email'] = $sitebackpack->backpackemail ?? $CFG->badges_defaultissuercontact;
$issuer['email'] = $sitebackpack->backpackemail ?: $CFG->badges_defaultissuercontact;
$issuer['@context'] = OPEN_BADGES_V2_CONTEXT;
$issuerid = new moodle_url('/badges/issuer_json.php');
$issuer['id'] = $issuerid->out(false);
Expand Down

0 comments on commit 1047779

Please sign in to comment.