diff --git a/src/applications/settings/panel/PhabricatorEmailPreferencesSettingsPanel.php b/src/applications/settings/panel/PhabricatorEmailPreferencesSettingsPanel.php --- a/src/applications/settings/panel/PhabricatorEmailPreferencesSettingsPanel.php +++ b/src/applications/settings/panel/PhabricatorEmailPreferencesSettingsPanel.php @@ -97,18 +97,18 @@ 'count' => 0, 'name' => $name, ); + } else { + $all_tags[$tag]['count']++; } - $all_tags[$tag]['count']; } } $common_tags = array(); foreach ($all_tags as $tag => $info) { - if ($info['count'] > 1) { + if ($info['count'] > 0) { $common_tags[$tag] = $info['name']; } } - // Build up the groups of application-specific options. $tag_groups = array(); foreach ($editors as $editor) {