Page MenuHomePhabricator

D11969.id.diff
No OneTemporary

D11969.id.diff

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
@@ -490,7 +490,7 @@
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
--- a/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php
+++ b/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php
@@ -1413,7 +1413,7 @@
PhabricatorApplicationTransaction $xaction,
$old = null) {
- if ($old) {
+ if ($old !== null) {
$old = array_fuse($old);
} else {
$old = array_fuse($xaction->getOldValue());

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 11, 2:29 PM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6729398
Default Alt Text
D11969.id.diff (1 KB)

Event Timeline