Page MenuHomePhabricator

D14264.diff
No OneTemporary

D14264.diff

diff --git a/src/applications/maniphest/controller/ManiphestTaskEditController.php b/src/applications/maniphest/controller/ManiphestTaskEditController.php
--- a/src/applications/maniphest/controller/ManiphestTaskEditController.php
+++ b/src/applications/maniphest/controller/ManiphestTaskEditController.php
@@ -198,7 +198,8 @@
// in a meaningful way. For now, build User objects. Once the Maniphest
// objects exist, this will switch over automatically. This is a big
// hack but shouldn't be long for this world.
- $placeholder_editor = new PhabricatorUserProfileEditor();
+ $placeholder_editor = id(new PhabricatorUserProfileEditor())
+ ->setActor($viewer);
$field_errors = $aux_field->validateApplicationTransactions(
$placeholder_editor,

File Metadata

Mime Type
text/plain
Expires
Sat, Dec 21, 3:55 PM (19 h, 7 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6914549
Default Alt Text
D14264.diff (815 B)

Event Timeline