diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-02-11 20:01:17 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-02-11 20:01:17 +0000 |
commit | e90f3b883b0655ccba009f2fbef982696341a1a2 (patch) | |
tree | 0afa31bda8e395e9addfadae4eb62067392abe20 /includes/theme.inc | |
parent | 3d3a60740a63e8c803d0905b2727bb202e6de370 (diff) | |
download | brdo-e90f3b883b0655ccba009f2fbef982696341a1a2.tar.gz brdo-e90f3b883b0655ccba009f2fbef982696341a1a2.tar.bz2 |
- See http://lists.drupal.org/pipermail/drupal-devel/2003-February/021824.html.
Diffstat (limited to 'includes/theme.inc')
-rw-r--r-- | includes/theme.inc | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |