aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/db/mysql.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2005-04-10 18:07:12 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2005-04-10 18:07:12 +0000
commit557d09bb72f7e9848b6fc50ed4e2ba651b89e743 (patch)
tree9db78285f2e35af8f70dfbb240712164b45bcfd2 /phpBB/includes/db/mysql.php
parentc9478353171267a3ebc5d87b43d759d22684b21e (diff)
downloadforums-557d09bb72f7e9848b6fc50ed4e2ba651b89e743.tar
forums-557d09bb72f7e9848b6fc50ed4e2ba651b89e743.tar.gz
forums-557d09bb72f7e9848b6fc50ed4e2ba651b89e743.tar.bz2
forums-557d09bb72f7e9848b6fc50ed4e2ba651b89e743.tar.xz
forums-557d09bb72f7e9848b6fc50ed4e2ba651b89e743.zip
- added updated coding guidelines
- introduced is_registered and is_bot flags for correct determinition of guest/registered/bot users - changed bot code to act on useragent || ip git-svn-id: file:///svn/phpbb/trunk@5117 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/db/mysql.php')
-rw-r--r--phpBB/includes/db/mysql.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/db/mysql.php b/phpBB/includes/db/mysql.php
index 14778a7e66..b1aefc66ca 100644
--- a/phpBB/includes/db/mysql.php
+++ b/phpBB/includes/db/mysql.php
@@ -454,7 +454,7 @@ class sql_db
{
while ($row = mysql_fetch_assoc($result))
{
- if (!$html_table && count($row))
+ if (!$html_table && sizeof($row))
{
$html_table = TRUE;
$html_hold .= '<table class="bg" width="100%" cellspacing="1" cellpadding="4" border="0" align="center"><tr>';