diff --git a/core/imageboard.pack.php b/core/imageboard.pack.php index 755de669..5a2dacab 100644 --- a/core/imageboard.pack.php +++ b/core/imageboard.pack.php @@ -1219,7 +1219,7 @@ function add_dir($base) { $short_path = str_replace($base, "", $full_path); $filename = basename($full_path); - $tags = path_to_tags($short_path); + $tags = Tag::explode(path_to_tags($short_path)); $result = "$short_path (".str_replace(" ", ", ", $tags).")... "; try { add_image($full_path, $filename, $tags);