1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-06-28 20:45:00 +03:00

fix сортировки тегов в облаке

This commit is contained in:
Mzhelskiy Maxim 2009-03-05 19:34:52 +00:00
parent 246f225e2f
commit b0d632424f

View file

@ -735,9 +735,9 @@ class Mapper_Topic extends Mapper {
$aReturnSort=array();
if ($aRows=$this->oDb->select($sql,$iLimit)) {
foreach ($aRows as $aRow) {
$aReturn[$aRow['topic_tag_text']]=$aRow;
}
ksort($aReturn);
$aReturn[mb_strtolower($aRow['topic_tag_text'],'UTF-8')]=$aRow;
}
ksort($aReturn);
foreach ($aReturn as $aRow) {
$aReturnSort[]=new TopicEntity_TopicTag($aRow);
}