aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/section_init.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/section_init.inc.php b/include/section_init.inc.php
index 4a55cf732..5533c969b 100644
--- a/include/section_init.inc.php
+++ b/include/section_init.inc.php
@@ -572,7 +572,7 @@ if (isset($page['title']))
}
else
{
- $used_title = @$page['is_homepage'] ? $conf['gallery_title'] :l10n('Home');
+ $used_title = ('categories'==$page['section'] && !isset($page['category']) && !isset($page['chronology_field']) ) ? $conf['gallery_title'] : l10n('Home');
$used_link = get_gallery_home_url();
}
$page['section_title'] = $page['title'] = '<a href="'.$used_link.'">'.$used_title.'</a>';