Skip to content

Commit

Permalink
MDL-58454 badges: Use correct function for fetching badge issuer
Browse files Browse the repository at this point in the history
  • Loading branch information
junpataleta authored and David Monllao committed Nov 6, 2018
1 parent 6d47156 commit e75860c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion badges/badge_json.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
}
} 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.
Expand Down

0 comments on commit e75860c

Please sign in to comment.