summaryrefslogtreecommitdiff
path: root/app/Import/TaskImport.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Import/TaskImport.php')
-rw-r--r--app/Import/TaskImport.php4
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'])) {