summaryrefslogtreecommitdiff
path: root/includes/theme.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/theme.inc')
-rw-r--r--includes/theme.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index 4c9e26d88..ab311ce08 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -916,7 +916,7 @@ function theme_closure($main = 0) {
function theme_blocks($region) {
$output = '';
- if ($list = module_invoke('block', 'list', $region)) {
+ if ($list = block_list($region)) {
foreach ($list as $key => $block) {
// $key == <i>module</i>_<i>delta</i>
$output .= theme('block', $block);