Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15345568
D12306.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
801 B
Referenced Files
None
Subscribers
None
D12306.diff
View Options
diff --git a/src/applications/conpherence/editor/ConpherenceEditor.php b/src/applications/conpherence/editor/ConpherenceEditor.php
--- a/src/applications/conpherence/editor/ConpherenceEditor.php
+++ b/src/applications/conpherence/editor/ConpherenceEditor.php
@@ -587,9 +587,9 @@
break;
case ConpherenceTransactionType::TYPE_PARTICIPANTS:
foreach ($xactions as $xaction) {
- $phids = $this->getPHIDTransactionNewValue(
- $xaction,
- nonempty($object->getParticipantPHIDs(), array()));
+ $new_phids = $this->getPHIDTransactionNewValue($xaction, array());
+ $old_phids = nonempty($object->getParticipantPHIDs(), array());
+ $phids = array_diff($new_phids, $old_phids);
if (!$phids) {
continue;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Mar 11, 11:25 AM (14 h, 15 m ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7262807
Default Alt Text
D12306.diff (801 B)
Attached To
Mode
D12306: Conpherence - only validate **new** participants when validating TYPE_PARTICIPANT transactions
Attached
Detach File
Event Timeline
Log In to Comment