[ticket/11179] minor fixes

Amends comments to start with capitals. Reinsert blank lines which were
not supposed to be removed

PHPBB3-11179
This commit is contained in:
Dhruv 2012-11-11 10:11:58 +01:00
parent bc77ca4d4e
commit 16bbdf4a52
2 changed files with 3 additions and 1 deletions

View file

@ -97,6 +97,7 @@ class phpbb_search_base
function obtain_ids($search_key, &$result_count, &$id_ary, &$start, $per_page, $sort_dir)
{
global $cache;
if (!($stored_ids = $cache->get('_search_results_' . $search_key)))
{
// no search results cached for this search_key
@ -108,7 +109,7 @@ class phpbb_search_base
$reverse_ids = ($stored_ids[-2] != $sort_dir) ? true : false;
$complete = true;
// change start parameter in case out of bounds
// Change start parameter in case out of bounds
if ($result_count)
{
if ($start < 0)

View file

@ -386,6 +386,7 @@ class phpbb_search_fulltext_mysql extends phpbb_search_base
{
return $result_count;
}
$id_ary = array();
$join_topic = ($type == 'posts') ? false : true;