Skip to content

Commit

Permalink
Improved recognition of block filters
Browse files Browse the repository at this point in the history
  • Loading branch information
Guite committed Sep 9, 2012
1 parent 9121964 commit 5fea99c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/util/BlockUtil.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public static function displayPosition($side, $echo = true, $implode = true)
}

// block filtering
if (!empty($blockinfo['filter'])) {
if (!empty($blockinfo['filter']) && is_array($blockinfo['filter']) && count($blockinfo['filter'])) {

$showblock = false;

Expand Down

0 comments on commit 5fea99c

Please sign in to comment.