From f934baa207fba32bcbd571db1e6e5c3013618b7f Mon Sep 17 00:00:00 2001 From: John Brooks Date: Sun, 23 Apr 2017 02:17:49 +0000 Subject: [PATCH] bulk_add_csv: Run Tag::explode() on the tags before passing them to handlers Fixes #575 --- ext/bulk_add_csv/main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/bulk_add_csv/main.php b/ext/bulk_add_csv/main.php index 34645e91..2e7cf6d7 100644 --- a/ext/bulk_add_csv/main.php +++ b/ext/bulk_add_csv/main.php @@ -126,7 +126,7 @@ class BulkAddCSV extends Extension { $list .= "
".html_escape("$shortpath (".str_replace(" ", ", ", $tags).")... "); if (file_exists($csvdata[0]) && is_file($csvdata[0])) { try{ - $this->add_image($fullpath, $pathinfo["basename"], $tags, $source, $rating, $thumbfile); + $this->add_image($fullpath, $pathinfo["basename"], Tag::explode($tags), $source, $rating, $thumbfile); $list .= "ok\n"; } catch(Exception $ex) {