Tag::explode should now remove duplicate tags

This commit is contained in:
Daku 2015-10-08 18:25:03 +01:00
parent 6ff80ab2c8
commit 744989a983

View File

@ -1147,6 +1147,8 @@ class Tag {
$tag_array = array("tagme"); $tag_array = array("tagme");
} }
$tag_array = array_iunique($tag_array); //remove duplicate tags
sort($tag_array); sort($tag_array);
return $tag_array; return $tag_array;