FIX - выборка точек для незалогиненных пользователей
This commit is contained in:
parent
cd0f1bab7b
commit
44e681b84d
|
|
@ -40,7 +40,7 @@ class PageController extends Controller
|
|||
$param = array();
|
||||
$param['order']='id DESC';
|
||||
if (App::getParam('category')) {
|
||||
$param['where'] = 'categoryId = '.(int)App::getParam('category');
|
||||
$param['where'] = 'categoryId = '.(int)App::getParam('category').' AND `moderate` = 1';
|
||||
} else {
|
||||
$param['limit'] = 100;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue