1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 08:52:39 +01:00

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
This commit is contained in:
epriestley 2012-10-16 13:39:35 -07:00
parent 9fa4c2d406
commit 602d94fd87

View file

@ -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,