1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-06-26 03:30:48 +03:00

fix order

fix order_way
This commit is contained in:
Babichev Igor 2012-07-07 23:32:59 +06:00
parent 5b8f6639c9
commit e22aaae9b9

View file

@ -87,14 +87,14 @@ class ActionBlogs extends Action {
*/
$sOrder='blog_rating';
if (getRequest('order')) {
$sOrder=getRequest('order');
$sOrder=(string)getRequest('order');
}
/**
* В каком направлении сортировать
*/
$sOrderWay='desc';
if (getRequest('order_way')) {
$sOrderWay=getRequest('order_way');
$sOrderWay=(string)getRequest('order_way');
}
/**
* Фильтр поиска блогов