aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/develop/search_fill.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2008-12-28 23:30:09 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2008-12-28 23:30:09 +0000
commit19aed179e53f9660a7202e2e50816e1cef0f7be9 (patch)
treee2707fd68720f206c88f8bcaff6e2fc3173c9c94 /phpBB/develop/search_fill.php
parent4ded6cf5eef0892f9ef1d7351664e1d78445c419 (diff)
downloadforums-19aed179e53f9660a7202e2e50816e1cef0f7be9.tar
forums-19aed179e53f9660a7202e2e50816e1cef0f7be9.tar.gz
forums-19aed179e53f9660a7202e2e50816e1cef0f7be9.tar.bz2
forums-19aed179e53f9660a7202e2e50816e1cef0f7be9.tar.xz
forums-19aed179e53f9660a7202e2e50816e1cef0f7be9.zip
$config to phpbb::$config
git-svn-id: file:///svn/phpbb/trunk@9242 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/develop/search_fill.php')
-rw-r--r--phpBB/develop/search_fill.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/develop/search_fill.php b/phpBB/develop/search_fill.php
index 23acee6a1a..af2dd6a288 100644
--- a/phpBB/develop/search_fill.php
+++ b/phpBB/develop/search_fill.php
@@ -32,7 +32,7 @@ $user->session_begin();
$auth->acl($user->data);
$user->setup();
-$search_type = $config['search_type'];
+$search_type = phpbb::$config['search_type'];
if (!file_exists(PHPBB_ROOT_PATH . 'includes/search/' . $search_type . '.' . PHP_EXT))
{
@@ -76,7 +76,7 @@ for(;$postcounter <= $max_post_id; $postcounter += $batchsize)
$batchstart = $postcounter + 1;
$batchend = $postcounter + $batchsize;
$batchcount++;
-
+
$sql = "SELECT *
FROM " . POSTS_TABLE . "
WHERE post_id
@@ -92,7 +92,7 @@ for(;$postcounter <= $max_post_id; $postcounter += $batchsize)
$db->sql_freeresult($result);
$post_rows = sizeof($rowset);
-
+
if( $post_rows )
{