diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-06-28 18:00:00 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-06-28 18:00:00 -0700 |
commit | b235fd6e5f2197869c8ef04637d990d2017a19bf (patch) | |
tree | b661596f760c9022b5e9738e922ab19b4bf9e2d3 /modules/info/helpers | |
parent | 5b2c08d797697430dca716cce5b51a4c128027c0 (diff) |
Pass the item into the block.
Diffstat (limited to 'modules/info/helpers')
-rw-r--r-- | modules/info/helpers/info_theme.php | 1 |
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; |