diff --git a/module/task/view/create.html.php b/module/task/view/create.html.php
index 9d9108b458..95e54207b6 100644
--- a/module/task/view/create.html.php
+++ b/module/task/view/create.html.php
@@ -87,7 +87,7 @@
task->mailto;?> |
mailto), "multiple class='form-control'");
+ echo html::select('mailto[]', $project->acl == 'private' ? $members : $users, str_replace(' ', '', $task->mailto), "multiple class='form-control'");
if($contactLists) echo html::select('', $contactLists, '', "class='form-control' onchange=\"setMailto('mailto', this.value)\"");
?>
|
diff --git a/module/task/view/edit.html.php b/module/task/view/edit.html.php
index 9a37a1e7fa..c675d5351d 100644
--- a/module/task/view/edit.html.php
+++ b/module/task/view/edit.html.php
@@ -89,7 +89,7 @@
| task->mailto;?> |
- mailto), 'class="form-control" multiple');?> |
+ acl == 'private' ? $members : $users, str_replace(' ' , '', $task->mailto), 'class="form-control" multiple');?> |