diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-01-06 04:26:42 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-01-06 04:26:42 +0000 |
commit | 26574bd51e1de982a1f3f806d5a527ccb94ae3df (patch) | |
tree | c2e29897e9263a64950acaa8d9dedff851a0b69b /modules | |
parent | 8f173831848d2bd295407874efaf02b23fc42ab7 (diff) | |
download | brdo-26574bd51e1de982a1f3f806d5a527ccb94ae3df.tar.gz brdo-26574bd51e1de982a1f3f806d5a527ccb94ae3df.tar.bz2 |
#674406 by David_Rothstein: Don't add empty theme regions to the array.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/block/block.module | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/block/block.module b/modules/block/block.module index abf74b69d..dafc60924 100644 --- a/modules/block/block.module +++ b/modules/block/block.module @@ -227,7 +227,6 @@ function block_page_build(&$page) { if ($item['path'] != 'admin/structure/block/demo/' . $theme) { // Load all region content assigned via blocks. foreach (array_keys($all_regions) as $region) { - $page[$region] = array(); // Assign blocks to region. if ($blocks = block_get_blocks_by_region($region)) { $page[$region] = $blocks; |