aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/index.php')
-rw-r--r--phpBB/index.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/index.php b/phpBB/index.php
index 05cc109f3e..73d4ff59fb 100644
--- a/phpBB/index.php
+++ b/phpBB/index.php
@@ -37,12 +37,12 @@ init_userprefs($userdata);
//
//nl2br(var_dump($userdata));
-$total_posts = get_db_stat($db, 'postcount');
-$total_users = get_db_stat($db, 'usercount');
-$newest_userdata = get_db_stat($db, 'newestuser');
+$total_posts = get_db_stat('postcount');
+$total_users = get_db_stat('usercount');
+$newest_userdata = get_db_stat('newestuser');
$newest_user = $newest_userdata["username"];
$newest_uid = $newest_userdata["user_id"];
-$users_browsing = get_db_stat($db, "usersonline") . " Users ";
+$users_browsing = get_db_stat("usersonline") . " Users ";
if(empty($viewcat))
{