Tag::explode should now remove duplicate tags
This commit is contained in:
parent
6ff80ab2c8
commit
744989a983
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user