Skip to content

Commit

Permalink
исправлена ошибка при пагинации списка модерации
Browse files Browse the repository at this point in the history
  • Loading branch information
fuze committed Dec 29, 2015
1 parent d2e0560 commit 04eb5b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/controllers/moderation/actions/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function run($ctype_name=false){

if (!$ctype_name) { $ctype_name = $ctypes_list[0]; $is_index = true; }

$content_controller = cmsCore::getController('content');
$content_controller = cmsCore::getController('content', $this->request);

$ctypes = $content_controller->model->filterIn('name', $ctypes_list)->getContentTypesFiltered();
$ctypes = array_collection_to_list($ctypes, 'name', 'title');
Expand Down

0 comments on commit 04eb5b8

Please sign in to comment.