diff --git a/includes/total_control.inc b/includes/total_control.inc index 66782fd..b76bbbb 100755 --- a/includes/total_control.inc +++ b/includes/total_control.inc @@ -302,7 +302,7 @@ function total_control_get_content_overview($conf = array()) { $content_data[$type] = format_plural($type_count, '1 ' . $object->name . ' item', '@count ' . $object->name . ' items'); // Check if comments module is enabled. - if ($comments_exist) { + if ($comments_exist && !empty($conf['comments'])) { // Compare against comment options on pane config. if (array_key_exists($type, $conf['comments']) && $conf['comments'][$type] === $type) {