Merge pull request #611 from thomas-hori/develop

Fix error upon bulk add.
This commit is contained in:
Jeff 2017-05-11 23:23:17 -07:00 committed by GitHub
commit 3183ef59b3

View File

@ -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) {