summaryrefslogtreecommitdiff
path: root/modules/system/system.admin.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-08-25 10:37:36 +0000
committerDries Buytaert <dries@buytaert.net>2009-08-25 10:37:36 +0000
commit41e2215ea869d3dbfffc8bdd2c70fe84eff67822 (patch)
tree5866e5b87d7fa9d049ef69fba2eb47d883eaf759 /modules/system/system.admin.inc
parentf9f8a6cb8138d25361b57e92d94ba8e41324ecc3 (diff)
downloadbrdo-41e2215ea869d3dbfffc8bdd2c70fe84eff67822.tar.gz
brdo-41e2215ea869d3dbfffc8bdd2c70fe84eff67822.tar.bz2
- Patch #551080 by Gábor Hojtsy: the by module page blocks did not have the new show flag.
Diffstat (limited to 'modules/system/system.admin.inc')
-rw-r--r--modules/system/system.admin.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc
index 749d3bf1d..40cc826a2 100644
--- a/modules/system/system.admin.inc
+++ b/modules/system/system.admin.inc
@@ -1955,7 +1955,7 @@ function system_batch_page() {
*/
function theme_admin_block($block) {
// Don't display the block if it has no content to display.
- if (!$block['show']) {
+ if (empty($block['show'])) {
return '';
}
@@ -2080,6 +2080,7 @@ function theme_system_admin_by_module($menu_items) {
$block['title'] = $module;
$block['content'] = theme('item_list', $items);
$block['description'] = t($description);
+ $block['show'] = TRUE;
if ($block_output = theme('admin_block', $block)) {
if (!isset($block['position'])) {