aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/search
diff options
context:
space:
mode:
authorDhruv <dhruv.goel92@gmail.com>2012-11-10 15:45:15 +0100
committerDhruv <dhruv.goel92@gmail.com>2013-02-19 00:52:49 +0530
commitbc77ca4d4eb6a5bcf3e47706c6b6fd2b0fe33f82 (patch)
treeee2e0176e14dc57ca9cb93aa3fdd823438264a75 /phpBB/includes/search
parentef88edbcf69541bd79e220c87c444b33a6751c67 (diff)
downloadforums-bc77ca4d4eb6a5bcf3e47706c6b6fd2b0fe33f82.tar
forums-bc77ca4d4eb6a5bcf3e47706c6b6fd2b0fe33f82.tar.gz
forums-bc77ca4d4eb6a5bcf3e47706c6b6fd2b0fe33f82.tar.bz2
forums-bc77ca4d4eb6a5bcf3e47706c6b6fd2b0fe33f82.tar.xz
forums-bc77ca4d4eb6a5bcf3e47706c6b6fd2b0fe33f82.zip
[ticket/11179] pass start param by reference in postgres
PHPBB3-11179
Diffstat (limited to 'phpBB/includes/search')
-rw-r--r--phpBB/includes/search/fulltext_postgres.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/search/fulltext_postgres.php b/phpBB/includes/search/fulltext_postgres.php
index e8a5353b05..bdc2fa4f19 100644
--- a/phpBB/includes/search/fulltext_postgres.php
+++ b/phpBB/includes/search/fulltext_postgres.php
@@ -343,7 +343,7 @@ class phpbb_search_fulltext_postgres extends phpbb_search_base
* @param int $per_page number of ids each page is supposed to contain
* @return boolean|int total number of results
*/
- public function keyword_search($type, $fields, $terms, $sort_by_sql, $sort_key, $sort_dir, $sort_days, $ex_fid_ary, $m_approve_fid_ary, $topic_id, $author_ary, $author_name, &$id_ary, $start, $per_page)
+ public function keyword_search($type, $fields, $terms, $sort_by_sql, $sort_key, $sort_dir, $sort_days, $ex_fid_ary, $m_approve_fid_ary, $topic_id, $author_ary, $author_name, &$id_ary, &$start, $per_page)
{
// No keywords? No posts
if (!$this->search_query)
@@ -559,7 +559,7 @@ class phpbb_search_fulltext_postgres extends phpbb_search_base
* @param int $per_page number of ids each page is supposed to contain
* @return boolean|int total number of results
*/
- public function author_search($type, $firstpost_only, $sort_by_sql, $sort_key, $sort_dir, $sort_days, $ex_fid_ary, $m_approve_fid_ary, $topic_id, $author_ary, $author_name, &$id_ary, $start, $per_page)
+ public function author_search($type, $firstpost_only, $sort_by_sql, $sort_key, $sort_dir, $sort_days, $ex_fid_ary, $m_approve_fid_ary, $topic_id, $author_ary, $author_name, &$id_ary, &$start, $per_page)
{
// No author? No posts
if (!sizeof($author_ary))