mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 13:38:32 +01:00
MDL-58454 badges: Use correct function for fetching badge issuer
This commit is contained in:
parent
6d47156f75
commit
e75860caea
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user