diff options
-rw-r--r-- | services/tag2tagservice.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/tag2tagservice.php b/services/tag2tagservice.php index 6069880..b2ffbf0 100644 --- a/services/tag2tagservice.php +++ b/services/tag2tagservice.php @@ -287,7 +287,7 @@ class Tag2TagService { function removeLinkedTags($tag1, $tag2, $relationType, $uId) { if(($tag1 != '' && $tag1 == $tag2) || ($relationType != ">" && $relationType != "=" && $relationType != "") || - ($tag1 == '' && $tag2 == '' && $relationType == '' && $uId == '')) { + ($tag1 == '' && $tag2 == '')) { return false; } $query = 'DELETE FROM '. $this->getTableName(); |