diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-11-17 14:46:23 -0800 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-11-17 14:46:23 -0800 |
commit | 2a313eb971ab36e166308f7882897ef204234d0a (patch) | |
tree | 6bb7a72ee7bce1c0baef908af49ff1b817c939f2 /app/Import | |
parent | 3b786e05e0e51ca6f85ef9a3ca0d649f3e34c534 (diff) |
Add the possibility to send tasks and comments to multiple recipients
Diffstat (limited to 'app/Import')
-rw-r--r-- | app/Import/TaskImport.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/Import/TaskImport.php b/app/Import/TaskImport.php index 4f89962b..8278ed26 100644 --- a/app/Import/TaskImport.php +++ b/app/Import/TaskImport.php @@ -67,9 +67,7 @@ class TaskImport extends Base $this->nbImportedTasks++; if (! empty($row['tags'])) { - $tagsList = explode(',', $row['tags']); - array_walk($tagsList, function (&$value) { $value = trim($value); }); - $this->taskTagModel->save($this->projectId, $taskId, $tagsList); + $this->taskTagModel->save($this->projectId, $taskId, explode_csv_field($row['tags'])); } if (! empty($row['external_link'])) { |