aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2003-04-17 17:06:52 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2003-04-17 17:06:52 +0000
commit2e36408fab8c3b0d060d587beda614d0a0596efe (patch)
treec4fea7a822783192a97779d15b2f292f825d9019
parentcc1a5f899d5758be6d592acedb244fdc34cfee38 (diff)
downloadforums-2e36408fab8c3b0d060d587beda614d0a0596efe.tar
forums-2e36408fab8c3b0d060d587beda614d0a0596efe.tar.gz
forums-2e36408fab8c3b0d060d587beda614d0a0596efe.tar.bz2
forums-2e36408fab8c3b0d060d587beda614d0a0596efe.tar.xz
forums-2e36408fab8c3b0d060d587beda614d0a0596efe.zip
oops, it appears I missed most of the changes in mysql.php ...
git-svn-id: file:///svn/phpbb/trunk@3872 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/includes/db/mysql.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/includes/db/mysql.php b/phpBB/includes/db/mysql.php
index 5e03e65b38..f22b8d89af 100644
--- a/phpBB/includes/db/mysql.php
+++ b/phpBB/includes/db/mysql.php
@@ -141,7 +141,7 @@ class sql_db
$curtime = $curtime[0] + $curtime[1] - $starttime;
}
- if (!$this->query_result = @mysql_query($query, $this->db_connect_id))
+ if (!($this->query_result = @mysql_query($query, $this->db_connect_id)))
{
$this->sql_error($query);
}
@@ -214,7 +214,6 @@ class sql_db
if ($query != '')
{
$this->query_result = false;
- $this->num_queries++;
// if $total is set to 0 we do not want to limit the number of rows
if ($total == 0)