diff options
author | David Farning <dfarning@gmail.com> | 2009-03-21 05:54:57 (GMT) |
---|---|---|
committer | David Farning <dfarning@gmail.com> | 2009-03-21 05:54:57 (GMT) |
commit | b6607b36b4fe5be82297abaea88e120de7c1ce44 (patch) | |
tree | a44f7ca03ac5524024c98343c7ef517038d4f870 /site/app/views/addons/browse.thtml | |
parent | 1fb3c4ae563e9ede7cdc6cdb6b4292773703c14d (diff) | |
parent | 32c281e71ab055ed2ad44b44e5863cf9779a621d (diff) |
merge with snvdevel
Diffstat (limited to 'site/app/views/addons/browse.thtml')
-rw-r--r-- | site/app/views/addons/browse.thtml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/site/app/views/addons/browse.thtml b/site/app/views/addons/browse.thtml index 0fd3b23..7c7dc29 100644 --- a/site/app/views/addons/browse.thtml +++ b/site/app/views/addons/browse.thtml @@ -43,7 +43,7 @@ <div id="content" class="category"> <?php -if (!empty($type)) +if (!empty($type) && array_key_exists('Tag', $this_tag)) echo $this->renderElement('search', array('category' => array($type, $this_tag['Tag']['id']))); else @@ -78,7 +78,7 @@ foreach ($addons as $val) { </div><!-- /#content-main --> <?php -if (!empty($type)) +if (!empty($type) && array_key_exists('Tag', $this_tag)) echo $this->renderElement('sidebar', array('highlight' => array($type, $this_tag['Tag']['id']))); else |