summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-06-28 18:00:00 -0700
committerBharat Mediratta <bharat@menalto.com>2009-06-28 18:00:00 -0700
commitb235fd6e5f2197869c8ef04637d990d2017a19bf (patch)
treeb661596f760c9022b5e9738e922ab19b4bf9e2d3
parent5b2c08d797697430dca716cce5b51a4c128027c0 (diff)
Pass the item into the block.
-rw-r--r--modules/info/helpers/info_theme.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/info/helpers/info_theme.php b/modules/info/helpers/info_theme.php
index 151885b7..2a761fb4 100644
--- a/modules/info/helpers/info_theme.php
+++ b/modules/info/helpers/info_theme.php
@@ -22,6 +22,7 @@ class info_theme_Core {
if ($theme->item()) {
$block = new Block();
$block->css_id = "gMetadata";
+ $block->item = $theme->item();
$block->title = $theme->item()->is_album() ? t("Album Info") : t("Photo Info");
$block->content = new View("info_block.html");
return $block;