Page MenuHomePhabricator

D11969.id28818.diff
No OneTemporary

D11969.id28818.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
Oct 19 2024, 12:25 AM (4 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6729398
Default Alt Text
D11969.id28818.diff (1 KB)

Event Timeline