mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 09:12:41 +01:00
Fix assign-on-close behavior for comment controller
Summary: Ref T2217. Missed this while converting this endpoint. Test Plan: Closed an unassigned task, got assigned. Reviewers: btrahan Reviewed By: btrahan CC: aran Maniphest Tasks: T2217 Differential Revision: https://secure.phabricator.com/D7089
This commit is contained in:
parent
b928e7f8f5
commit
b9778d89ca
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ final class ManiphestTransactionSaveController extends ManiphestController {
|
|||
ManiphestTaskStatus::STATUS_OPEN) {
|
||||
// Closing an unassigned task. Assign the user as the owner of
|
||||
// this task.
|
||||
$assign = new ManiphestTransaction();
|
||||
$assign = new ManiphestTransactionPro();
|
||||
$assign->setTransactionType(ManiphestTransactionType::TYPE_OWNER);
|
||||
$assign->setNewValue($user->getPHID());
|
||||
$transactions[] = $assign;
|
||||
|
|
Loading…
Reference in a new issue