mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-20 04:20:55 +01:00
Fix an issue with creating new Conpherences
Summary: The participant list can sometimes be `null`, which fails when we try to `array_fuse()` it. Test Plan: Created a new thread cleanly. Reviewers: btrahan Reviewed By: btrahan Subscribers: epriestley Differential Revision: https://secure.phabricator.com/D11969
This commit is contained in:
parent
174dd220df
commit
803a050824
2 changed files with 2 additions and 2 deletions
|
@ -490,7 +490,7 @@ final class ConpherenceEditor extends PhabricatorApplicationTransactionEditor {
|
|||
foreach ($xactions as $xaction) {
|
||||
$phids = $this->getPHIDTransactionNewValue(
|
||||
$xaction,
|
||||
$object->getParticipantPHIDs());
|
||||
nonempty($object->getParticipantPHIDs(), array()));
|
||||
|
||||
if (!$phids) {
|
||||
continue;
|
||||
|
|
|
@ -1413,7 +1413,7 @@ abstract class PhabricatorApplicationTransactionEditor
|
|||
PhabricatorApplicationTransaction $xaction,
|
||||
$old = null) {
|
||||
|
||||
if ($old) {
|
||||
if ($old !== null) {
|
||||
$old = array_fuse($old);
|
||||
} else {
|
||||
$old = array_fuse($xaction->getOldValue());
|
||||
|
|
Loading…
Reference in a new issue