aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/db/mysql4.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-03-17 12:51:32 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-03-17 12:51:32 +0000
commit4962db5f6715210d4e577fa843f82ffe61b47bc4 (patch)
treebba382a22c3dba0ae7548c62c32348f11e7e7dd5 /phpBB/includes/db/mysql4.php
parent59ba11f18f9b43fc154018923c20dcc17db8ffa7 (diff)
downloadforums-4962db5f6715210d4e577fa843f82ffe61b47bc4.tar
forums-4962db5f6715210d4e577fa843f82ffe61b47bc4.tar.gz
forums-4962db5f6715210d4e577fa843f82ffe61b47bc4.tar.bz2
forums-4962db5f6715210d4e577fa843f82ffe61b47bc4.tar.xz
forums-4962db5f6715210d4e577fa843f82ffe61b47bc4.zip
- fix some bugs...
git-svn-id: file:///svn/phpbb/trunk@5643 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/db/mysql4.php')
-rw-r--r--phpBB/includes/db/mysql4.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/db/mysql4.php b/phpBB/includes/db/mysql4.php
index db2356d26d..0a7d15b988 100644
--- a/phpBB/includes/db/mysql4.php
+++ b/phpBB/includes/db/mysql4.php
@@ -120,7 +120,7 @@ class dbal_mysql4 extends dbal
$this->open_queries[(int) $this->query_result] = $this->query_result;
$cache->sql_save($query, $this->query_result, $cache_ttl);
}
- else if (strpos($query, 'SELECT') !== false && $this->query_result)
+ else if (strpos($query, 'SELECT') === 0 && $this->query_result)
{
$this->open_queries[(int) $this->query_result] = $this->query_result;
}