Commit df5ab4d9 authored by Leigh B Stoller's avatar Leigh B Stoller

Bug fix; when renaming an image directory for delete, must append

a slash to the new directory when updating the database.
parent d6227c77
......@@ -298,7 +298,8 @@ if ($purge || $rename) {
# Hmm, need an update all versions method.
foreach my $imageversion (@images) {
$imageversion->Update({"path" => $newname});
# Need trailing slash!
$imageversion->Update({"path" => $newname . "/"});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment