avoid retagging unnecessarily?

This commit is contained in:
Shish 2023-06-25 21:47:04 +00:00
parent 5c4a9ea2ef
commit 2ebeb27bb6

View file

@ -683,7 +683,7 @@ class Image
throw new SCoreException('Tried to set zero tags');
}
if (Tag::implode($tags) != $this->get_tag_list()) {
if (strtolower(Tag::implode($tags)) != strtolower($this->get_tag_list())) {
// delete old
$this->delete_tags_from_image();