Skip to content

Commit

Permalink
Merge branch 'MDL-64441-master' of git://github.com/sarjona/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Jan 22, 2019
2 parents fd0f5da + 706c8d1 commit 59776fa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion badges/renderer.php
Expand Up @@ -351,7 +351,9 @@ protected function render_issued_badge(issued_badge $ibadge) {
if (!empty($badge->version)) {
$dl[get_string('version', 'badges')] = $badge->version;
}
$dl[get_string('language')] = $languages[$badge->language];
if (!empty($badge->language)) {
$dl[get_string('language')] = $languages[$badge->language];
}
$dl[get_string('description', 'badges')] = $badge->description;
if (!empty($badge->imageauthorname)) {
$dl[get_string('imageauthorname', 'badges')] = $badge->imageauthorname;
Expand Down

0 comments on commit 59776fa

Please sign in to comment.