Merge branch 'MDL-58454-master-fix' of git://github.com/junpataleta/moodle

This commit is contained in:
Damyon Wiese 2018-11-06 16:45:48 +08:00 committed by David Monllao
commit 1c7288e79b

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.