From 78ea03f55ca07e7d4be5492b5cd96ca8ae479aa4 Mon Sep 17 00:00:00 2001 From: xia0ta0 Date: Wed, 18 Jun 2014 15:40:15 +0800 Subject: [PATCH] * code for task #1894. --- module/task/view/create.html.php | 2 +- module/task/view/edit.html.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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');?>