MDL-58454 badges: Use correct function for fetching badge issuer

This commit is contained in:
Jun Pataleta 2018-11-06 16:31:27 +08:00 committed by David Monllao
parent 6d47156f75
commit e75860caea

View File

@ -113,7 +113,7 @@ if ($badge->status != BADGE_STATUS_INACTIVE) {
}
} else if ($action == 0) {
// Get the content for issuer.
$json = $badge->get_json_issuer_related_badge();
$json = $badge->get_badge_issuer();
}
} else {
// The badge doen't exist or not accessible for the users.