diff options
Diffstat (limited to '')
-rw-r--r-- | admin/cat_options.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/admin/cat_options.php b/admin/cat_options.php index 8ab02272d..ec5842886 100644 --- a/admin/cat_options.php +++ b/admin/cat_options.php @@ -142,7 +142,10 @@ $tabsheet = new tabsheet(); $opt_link = $link_start.'cat_options&section='; $tabsheet->add('status', l10n('Public / Private'), $opt_link.'status'); $tabsheet->add('visible', l10n('Lock'), $opt_link.'visible'); -$tabsheet->add('comments', l10n('Comments'), $opt_link.'comments'); +if ($conf['activate_comments']) +{ + $tabsheet->add('comments', l10n('Comments'), $opt_link.'comments'); +} if ($conf['allow_random_representative']) { $tabsheet->add('representative', l10n('Representative'), $opt_link.'representative'); |