X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2FTag.php;h=0ea19f55d9e11f5e8bc0f11585fd5f287e6480bf;hb=55db2670d1662b32c6faa820c60c44e16cffab20;hp=729ef0dd2bbeff6133d973c554e230ca688c2275;hpb=904ee0ea591894da1dd9d1fc50a444c28966d946;p=friendica.git diff --git a/src/Model/Tag.php b/src/Model/Tag.php index 729ef0dd2b..0ea19f55d9 100644 --- a/src/Model/Tag.php +++ b/src/Model/Tag.php @@ -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]); }