Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/site/app/views/addons/browse.thtml
diff options
context:
space:
mode:
Diffstat (limited to 'site/app/views/addons/browse.thtml')
-rw-r--r--site/app/views/addons/browse.thtml4
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