summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-01-16 01:07:32 +0000
committerBharat Mediratta <bharat@menalto.com>2009-01-16 01:07:32 +0000
commitec272821bbce1f32957e2aa808e4c25d9d177d16 (patch)
tree4dcf2ad97d9dabf2795c3d9db7fe448051924381
parent3e5ef37ee8817232556ad15ba48c1bd940101e25 (diff)
Don't show breadcrumb if there are no parents, not just on pages that aren't tags
-rw-r--r--themes/default/views/header.html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/default/views/header.html.php b/themes/default/views/header.html.php
index e5a7fa80..016fb3fb 100644
--- a/themes/default/views/header.html.php
+++ b/themes/default/views/header.html.php
@@ -10,7 +10,7 @@
<?= $theme->header_bottom() ?>
-<? if ($page_type != "tag"): ?>
+<? if (!empty($parents)): ?>
<ul id="gBreadcrumbs">
<? foreach ($parents as $parent): ?>
<li><a href="<?= url::site("albums/{$parent->id}?show=$item->id") ?>"><?= $parent->title ?></a></li>