diff options
author | Aleksey Lim <alsroot@member.fsf.org> | 2009-06-11 11:09:56 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@member.fsf.org> | 2009-06-11 11:41:36 (GMT) |
commit | e9361d633e8163e508a4dcde36c25c94f7e8b272 (patch) | |
tree | 3d20b380b50a9384b7c4665184ce64f6a346ab9a /site/app/controllers/search_controller.php | |
parent | aa81b57856816069a87d962dc7fa29d8e0b8b689 (diff) |
ASLO-2
Diffstat (limited to 'site/app/controllers/search_controller.php')
-rw-r--r-- | site/app/controllers/search_controller.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/site/app/controllers/search_controller.php b/site/app/controllers/search_controller.php index 65e8ebd..670bc15 100644 --- a/site/app/controllers/search_controller.php +++ b/site/app/controllers/search_controller.php @@ -179,7 +179,7 @@ class SearchController extends AppController $this->publish('vfuz', $vfuz); // execute this search - $_result_ids = $this->Search->search($_terms, $category[0], $category[1], NULL, $lver, $hver, $vfuz, $atype, $pid, $lup, $sort); + $_result_ids = $this->Search->search($_terms, $category[0], $category[1], NULL, $lver, $hver, $vfuz, $atype, $pid == PLATFORM_ANY ? PLATFORM_ANY : $pid+1, $lup, $sort); if ($this->params['action'] != 'rss') { $this->pageTitle = _('search_pagetitle').' :: '.sprintf(_('addons_home_pagetitle'), APP_PRETTYNAME); |