mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +01:00
Fix "Send an email to" Herald rule for Differential
Summary: Herald returns a map of `phid => true`. This is unintuitive and should probably be cleaned up eventually. Test Plan: With a "Send an email to" rule, updated a revision and saw no error in error log. Reviewers: btrahan Reviewed By: btrahan Subscribers: aran, epriestley Differential Revision: https://secure.phabricator.com/D8527
This commit is contained in:
parent
ab117c2baf
commit
b168ee116b
1 changed files with 2 additions and 1 deletions
|
@ -1428,7 +1428,8 @@ final class DifferentialTransactionEditor
|
|||
}
|
||||
|
||||
// Save extra email PHIDs for later.
|
||||
$this->heraldEmailPHIDs = $adapter->getEmailPHIDsAddedByHerald();
|
||||
$email_phids = $adapter->getEmailPHIDsAddedByHerald();
|
||||
$this->heraldEmailPHIDs = array_keys($email_phids);
|
||||
|
||||
// Apply build plans.
|
||||
HarbormasterBuildable::applyBuildPlans(
|
||||
|
|
Loading…
Reference in a new issue