Merge pull request #611 from thomas-hori/develop
Fix error upon bulk add.
This commit is contained in:
commit
3183ef59b3
@ -1222,7 +1222,7 @@ function add_dir($base) {
|
|||||||
$tags = path_to_tags($short_path);
|
$tags = path_to_tags($short_path);
|
||||||
$result = "$short_path (".str_replace(" ", ", ", $tags).")... ";
|
$result = "$short_path (".str_replace(" ", ", ", $tags).")... ";
|
||||||
try {
|
try {
|
||||||
add_image($full_path, $filename, $tags);
|
add_image($full_path, $filename, Tag::explode($tags));
|
||||||
$result .= "ok";
|
$result .= "ok";
|
||||||
}
|
}
|
||||||
catch(UploadException $ex) {
|
catch(UploadException $ex) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user