From d45bf0f1e7614e961ed45d85a99e126def3edf64 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 4 Dec 2003 20:53:19 +0000 Subject: - Patch 185 by Ax: fixed undefined variables, synchronized xtemplate with sf, etc. --- modules/block.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/block.module') diff --git a/modules/block.module b/modules/block.module index 130f4e325..dc29b2c8b 100644 --- a/modules/block.module +++ b/modules/block.module @@ -384,7 +384,7 @@ function block_list($region) { if (!($block['throttle'] && (module_invoke("throttle", "status") >= 5))) { $block = array_merge($block, module_invoke($block['module'], 'block', 'view', $block['delta'])); } - if ($block['content']) { + if (isset($block['content']) && $block['content']) { $blocks[$region]["$block[module]_$block[delta]"] = (object) $block; } } -- cgit v1.2.3