Removed unused tag entries

This commit is contained in:
Michael 2022-04-24 15:27:20 +00:00
parent 904ee0ea59
commit 069a008ca4
3 changed files with 38 additions and 1 deletions

View file

@ -201,7 +201,7 @@ class Tag
}
}
if (!empty($target) && !empty($tag['url']) && empty($tag['type'])) {
if (!empty($target) && !empty($tag['url']) && ($tag['type'] != $target)) {
DBA::update('tag', ['type' => $target], ['url' => $url]);
}