Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d47156
)
MDL-58454 badges: Use correct function for fetching badge issuer
author
Jun Pataleta
<jun@moodle.com>
Tue, 6 Nov 2018 08:31:27 +0000
(16:31 +0800)
committer
David Monllao
<davidm@moodle.com>
Tue, 6 Nov 2018 14:48:31 +0000
(15:48 +0100)
badges/badge_json.php
patch
|
blob
|
blame
|
history
diff --git
a/badges/badge_json.php
b/badges/badge_json.php
index
d09ee7e
..
907f0f1
100644
(file)
--- a/
badges/badge_json.php
+++ b/
badges/badge_json.php
@@
-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.