mirror of
https://github.com/friendica/friendica
synced 2025-04-26 19:10:11 +00:00
Removed unused tag entries
This commit is contained in:
parent
904ee0ea59
commit
069a008ca4
3 changed files with 38 additions and 1 deletions
|
@ -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]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue