diff --git a/core/imageboard.pack.php b/core/imageboard.pack.php index 755de669..9e20b33e 100644 --- a/core/imageboard.pack.php +++ b/core/imageboard.pack.php @@ -1222,7 +1222,7 @@ function add_dir($base) { $tags = path_to_tags($short_path); $result = "$short_path (".str_replace(" ", ", ", $tags).")... "; try { - add_image($full_path, $filename, $tags); + add_image($full_path, $filename, Tag::explode($tags)); $result .= "ok"; } catch(UploadException $ex) {