This commit is contained in:
Shish
2024-01-05 15:32:07 +00:00
parent 4b954b2e68
commit 26630a4e3b
4 changed files with 7 additions and 6 deletions

View File

@@ -120,12 +120,11 @@ class S3 extends Extension
if(is_null($new_tags)) {
$friendly = $image->parse_link_template('$id - $tags.$ext');
}
else {
} else {
$_orig_tags = $image->get_tag_array();
$image->tag_array = $new_tags;
$friendly = $image->parse_link_template('$id - $tags.$ext');
$image->tag_array = $_orig_tags;
$image->tag_array = $_orig_tags;
}
$client->putObject([