diff options
author | Victor Nagy <galaxyAbstractor@gmail.com> | 2013-07-14 10:57:19 -0400 |
---|---|---|
committer | Victor Nagy <galaxyAbstractor@gmail.com> | 2013-07-14 11:15:01 -0400 |
commit | e91b465de1c4cf767bba72c9eebe945b898c3fda (patch) | |
tree | a9a8a4c8ab9817d8a4162535460398173bc05ad7 | |
parent | 47a611ab4ff90ae2399d3ddbc374147a8d4958b2 (diff) | |
download | forums-e91b465de1c4cf767bba72c9eebe945b898c3fda.tar forums-e91b465de1c4cf767bba72c9eebe945b898c3fda.tar.gz forums-e91b465de1c4cf767bba72c9eebe945b898c3fda.tar.bz2 forums-e91b465de1c4cf767bba72c9eebe945b898c3fda.tar.xz forums-e91b465de1c4cf767bba72c9eebe945b898c3fda.zip |
[ticket/11697] author_search() used incorrect parameter
The author_search() function in fulltext_mysql.php had an argument
$m_approve_fid_ary parameter but it was changed in the Docblock
and code to $post_visibility. This change renames that argument
according to the docblock, the code and to mirror the other classes.
PHPBB3-11697
-rw-r--r-- | phpBB/includes/search/fulltext_mysql.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/search/fulltext_mysql.php b/phpBB/includes/search/fulltext_mysql.php index 7dc4da8ffe..a1e1b089b9 100644 --- a/phpBB/includes/search/fulltext_mysql.php +++ b/phpBB/includes/search/fulltext_mysql.php @@ -542,7 +542,7 @@ class phpbb_search_fulltext_mysql 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, $post_visibility, $topic_id, $author_ary, $author_name, &$id_ary, &$start, $per_page) { // No author? No posts if (!sizeof($author_ary)) |