Skip to content

Commit

Permalink
MDL-46564 badges: Fix 'All' option in badges block
Browse files Browse the repository at this point in the history
Signed-off-by: Yuliya Bozhko <yuliya.bozhko@totaralms.com>
  • Loading branch information
Yuliya Bozhko committed Sep 3, 2014
1 parent 1446e02 commit 2ffbf20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/badges/block_badges.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function get_content() {
}

// Number of badges to display.
if (empty($this->config->numberofbadges)) {
if (!isset($this->config->numberofbadges)) {
$this->config->numberofbadges = 10;
}

Expand Down

0 comments on commit 2ffbf20

Please sign in to comment.