From b9778d89ca93fdfc958d458f42fe29d9ae8de9aa Mon Sep 17 00:00:00 2001 From: epriestley Date: Tue, 24 Sep 2013 05:10:55 -0700 Subject: [PATCH] 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 --- .../maniphest/controller/ManiphestTransactionSaveController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applications/maniphest/controller/ManiphestTransactionSaveController.php b/src/applications/maniphest/controller/ManiphestTransactionSaveController.php index 613ed3ef58..35cc22ab1a 100644 --- a/src/applications/maniphest/controller/ManiphestTransactionSaveController.php +++ b/src/applications/maniphest/controller/ManiphestTransactionSaveController.php @@ -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;