Merge branch 'MDL-46564_master' of https://github.com/totara/openbadges
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user