Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/site/app/controllers/search_controller.php
diff options
context:
space:
mode:
authorAleksey 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)
commite9361d633e8163e508a4dcde36c25c94f7e8b272 (patch)
tree3d20b380b50a9384b7c4665184ce64f6a346ab9a /site/app/controllers/search_controller.php
parentaa81b57856816069a87d962dc7fa29d8e0b8b689 (diff)
ASLO-2
Diffstat (limited to 'site/app/controllers/search_controller.php')
-rw-r--r--site/app/controllers/search_controller.php2
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);