From 602d94fd876b61bc07dbbe79f42ffc9f0c70ffe8 Mon Sep 17 00:00:00 2001 From: epriestley Date: Tue, 16 Oct 2012 13:39:35 -0700 Subject: [PATCH] Fix a fatal in "create subtask" Summary: This got clipped by the actor/email thing I think. Test Plan: "Create Subtask" no longer fatals. Reviewers: btrahan, vrana, hsb Reviewed By: hsb CC: aran, lesliepc16 Maniphest Tasks: T1918 Differential Revision: https://secure.phabricator.com/D3718 --- .../maniphest/controller/ManiphestTaskEditController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applications/maniphest/controller/ManiphestTaskEditController.php b/src/applications/maniphest/controller/ManiphestTaskEditController.php index 96a1704757..a5c5da92e6 100644 --- a/src/applications/maniphest/controller/ManiphestTaskEditController.php +++ b/src/applications/maniphest/controller/ManiphestTaskEditController.php @@ -250,7 +250,7 @@ final class ManiphestTaskEditController extends ManiphestController { if ($parent_task) { id(new PhabricatorEdgeEditor()) - ->setUser($user) + ->setActor($user) ->addEdge( $parent_task->getPHID(), PhabricatorEdgeConfig::TYPE_TASK_DEPENDS_ON_TASK,