mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 00:42:41 +01:00
Don't duplicate comments in add-CC side effects.
Summary: Test Plan: Reviewers: CC:
This commit is contained in:
parent
2527dcddce
commit
38c6ce273a
1 changed files with 2 additions and 1 deletions
|
@ -75,7 +75,8 @@ class ManiphestTransactionSaveController extends ManiphestController {
|
|||
array($task->getOwnerPHID()));
|
||||
$new = array_unique(array_filter($new));
|
||||
if ($old != $new) {
|
||||
$cc = clone $transaction;
|
||||
$cc = new ManiphestTransaction();
|
||||
$cc->setAuthorPHID($user->getPHID());
|
||||
$cc->setTransactionType(ManiphestTransactionType::TYPE_CCS);
|
||||
$cc->setNewValue($new);
|
||||
$transactions[] = $cc;
|
||||
|
|
Loading…
Reference in a new issue