diff --git a/src/applications/conpherence/editor/ConpherenceEditor.php b/src/applications/conpherence/editor/ConpherenceEditor.php index 75776cadfe..0015d6dd9c 100644 --- a/src/applications/conpherence/editor/ConpherenceEditor.php +++ b/src/applications/conpherence/editor/ConpherenceEditor.php @@ -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; diff --git a/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php b/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php index d81f9f5c8d..1bcf9e213d 100644 --- a/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php +++ b/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php @@ -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());