Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2898317
D25727.1737253431.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
748 B
Referenced Files
None
Subscribers
None
D25727.1737253431.diff
View Options
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,14 +97,15 @@
'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'];
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 19, 02:23 (13 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1111737
Default Alt Text
D25727.1737253431.diff (748 B)
Attached To
Mode
D25727: Fix invalid logic in PhabricatorEmailPreferencesSettingsPanel::processRequest()
Attached
Detach File
Event Timeline
Log In to Comment