From e90f3b883b0655ccba009f2fbef982696341a1a2 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 11 Feb 2003 20:01:17 +0000 Subject: - See http://lists.drupal.org/pipermail/drupal-devel/2003-February/021824.html. --- includes/theme.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes/theme.inc') diff --git a/includes/theme.inc b/includes/theme.inc index 7dba28dd1..cdca31948 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -169,13 +169,13 @@ function theme_blocks($region) { if ((($block->status && (!$user->uid || !$block->custom)) || ($block->custom && $user->block[$block->module][$block->delta])) && (!$block->path || preg_match("|$block->path|", $PHP_SELF))) { $block_data = module_invoke($block->module, "block", "view", $block->delta); if ($block_data["content"]) { - theme_invoke("block", $block_data["subject"], $block_data["content"], $region); + theme("block", $block_data["subject"], $block_data["content"], $region); } } } } -function theme_invoke() { +function theme() { global $theme; $args = func_get_args(); -- cgit v1.2.3