Page MenuHomePhabricator

D17163.id41272.diff
No OneTemporary

D17163.id41272.diff

diff --git a/src/applications/differential/xaction/DifferentialRevisionReviewersTransaction.php b/src/applications/differential/xaction/DifferentialRevisionReviewersTransaction.php
--- a/src/applications/differential/xaction/DifferentialRevisionReviewersTransaction.php
+++ b/src/applications/differential/xaction/DifferentialRevisionReviewersTransaction.php
@@ -24,7 +24,13 @@
// First, remove any reviewers we're getting rid of.
$rem = idx($value, '-', array());
$rem = $datasource->evaluateTokens($rem);
- foreach ($rem as $phid) {
+ foreach ($rem as $spec) {
+ if (!is_array($spec)) {
+ $phid = $spec;
+ } else {
+ $phid = $spec['phid'];
+ }
+
unset($reviewers[$phid]);
}

File Metadata

Mime Type
text/plain
Expires
Sun, Mar 30, 2:26 PM (1 w, 5 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7268964
Default Alt Text
D17163.id41272.diff (741 B)

Event Timeline