diff options
author | Bharat Mediratta <bharat@menalto.com> | 2013-01-24 12:40:32 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2013-01-24 12:40:32 -0800 |
commit | d8f99c258c0aa0979915222333cf520ae3ea93fe (patch) | |
tree | 6e8988e28d0eff76214834d644c8438db5a11cba /modules/info/helpers | |
parent | 3e451d6edc6ab3586ef730e4458ca0b2d55f5170 (diff) | |
parent | 031dd3bd6f279b5ddec6f08ff11e0acee521a5fe (diff) |
Merge pull request #101 from shadlaws/fix_1960
#1960 - Add unit test to look for extra spaces at end of line
Diffstat (limited to 'modules/info/helpers')
-rw-r--r-- | modules/info/helpers/info_block.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/info/helpers/info_block.php b/modules/info/helpers/info_block.php index 4079fe55..62aa0746 100644 --- a/modules/info/helpers/info_block.php +++ b/modules/info/helpers/info_block.php @@ -29,7 +29,7 @@ class info_block_Core { if ($theme->item()) { $block = new Block(); $block->css_id = "g-metadata"; - $block->title = $theme->item()->is_album() ? t("Album info") : + $block->title = $theme->item()->is_album() ? t("Album info") : ($theme->item()->is_movie() ? t("Movie info") : t("Photo info")); $block->content = new View("info_block.html"); if ($theme->item->title && module::get_var("info", "show_title")) { |