Page MenuHomePhabricator

D10408.diff
No OneTemporary

D10408.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
@@ -442,7 +442,10 @@
->withIDs(array($template_id))
->executeOne();
if ($template_task) {
- $task->setCCPHIDs($template_task->getCCPHIDs());
+ $cc_phids = array_unique(array_merge(
+ $template_task->getCCPHIDs(),
+ array($user->getPHID())));
+ $task->setCCPHIDs($cc_phids);
$task->attachProjectPHIDs($template_task->getProjectPHIDs());
$task->setOwnerPHID($template_task->getOwnerPHID());
$task->setPriority($template_task->getPriority());

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 18, 9:36 AM (20 h, 53 m ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6751294
Default Alt Text
D10408.diff (883 B)

Event Timeline