sort tags when imploding / exploding

This commit is contained in:
Shish 2011-01-01 18:40:21 +00:00
parent df1142b493
commit 27056f369f

View File

@ -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);
}