Commit 41e2215e authored by Dries's avatar Dries
Browse files

- Patch #551080 by Gábor Hojtsy: the by module page blocks did not have the new show flag.

parent f9f8a6cb
......@@ -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'])) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment