sort tags when imploding / exploding
This commit is contained in:
parent
df1142b493
commit
27056f369f
@ -881,6 +881,8 @@ class Tag {
|
||||
$tag_array = array("tagme");
|
||||
}
|
||||
|
||||
sort($tag_array);
|
||||
|
||||
return $tag_array;
|
||||
}
|
||||
|
||||
@ -891,6 +893,7 @@ class Tag {
|
||||
// do nothing
|
||||
}
|
||||
else if(is_array($tags)) {
|
||||
sort($tags);
|
||||
$tags = implode(' ', $tags);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user