Page MenuHomePhabricator

D16660.id40105.diff
No OneTemporary

D16660.id40105.diff

diff --git a/src/applications/conpherence/storage/ConpherenceThread.php b/src/applications/conpherence/storage/ConpherenceThread.php
--- a/src/applications/conpherence/storage/ConpherenceThread.php
+++ b/src/applications/conpherence/storage/ConpherenceThread.php
@@ -285,16 +285,22 @@
if ($subtitle_mode == 'message') {
$message_transaction = null;
$action_transaction = null;
+ $has_item = false;
foreach ($transactions as $transaction) {
+ if ($has_item == true) {
+ continue;
+ }
switch ($transaction->getTransactionType()) {
case PhabricatorTransactions::TYPE_COMMENT:
$message_transaction = $transaction;
+ $has_item = true;
break;
case ConpherenceTransaction::TYPE_TITLE:
case ConpherenceTransaction::TYPE_TOPIC:
case ConpherenceTransaction::TYPE_PICTURE:
case ConpherenceTransaction::TYPE_PARTICIPANTS:
$action_transaction = $transaction;
+ $has_item = true;
break;
default:
break;

File Metadata

Mime Type
text/plain
Expires
Tue, Mar 11, 4:27 PM (2 w, 18 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7312575
Default Alt Text
D16660.id40105.diff (1 KB)

Event Timeline