summaryrefslogtreecommitdiff
path: root/modules/info
diff options
context:
space:
mode:
authorChad Kieffer <ckieffer@gmail.com>2011-01-04 19:25:02 -0700
committerChad Kieffer <ckieffer@gmail.com>2011-01-04 19:25:02 -0700
commit1d2e583c3177aa498abd70dde442d767efc4e99e (patch)
tree596399c9b4fcc1cc6639c8d1f0f111bd6197adac /modules/info
parente921c3c5b5b8f963f121601d346c50a24bc0cf15 (diff)
Pass the whole item, not just it's ID, to the info_block_metadata event.
Diffstat (limited to 'modules/info')
-rw-r--r--modules/info/helpers/info_block.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/info/helpers/info_block.php b/modules/info/helpers/info_block.php
index e3ae1d71..064c73b2 100644
--- a/modules/info/helpers/info_block.php
+++ b/modules/info/helpers/info_block.php
@@ -69,7 +69,7 @@ class info_block_Core {
}
$block->content->metadata = $info;
- module::event("info_block_metadata", $block, $theme->item->id);
+ module::event("info_block_metadata", $block, $theme->item);
}
break;
}