From 2a313eb971ab36e166308f7882897ef204234d0a Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Fri, 17 Nov 2017 14:46:23 -0800 Subject: Add the possibility to send tasks and comments to multiple recipients --- app/Import/TaskImport.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'app/Import/TaskImport.php') 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'])) { -- cgit v1.2.3