mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
Merge branch 'MDL-46564_master' of https://github.com/totara/openbadges
This commit is contained in:
commit
d281dffa8d
@ -78,7 +78,7 @@ class block_badges extends block_base {
|
||||
}
|
||||
|
||||
// Number of badges to display.
|
||||
if (empty($this->config->numberofbadges)) {
|
||||
if (!isset($this->config->numberofbadges)) {
|
||||
$this->config->numberofbadges = 10;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user