aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/db/firebird.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2006-10-03 20:38:03 +0000
committerNils Adermann <naderman@naderman.de>2006-10-03 20:38:03 +0000
commitf7f6e9bcde7a1508109146f462d4627a484eb594 (patch)
tree979f06adc81c873b582d66551bd452595a07fdd8 /phpBB/includes/db/firebird.php
parentaca3b8c5cfc45538d09d496a954f39efa8c19eba (diff)
downloadforums-f7f6e9bcde7a1508109146f462d4627a484eb594.tar
forums-f7f6e9bcde7a1508109146f462d4627a484eb594.tar.gz
forums-f7f6e9bcde7a1508109146f462d4627a484eb594.tar.bz2
forums-f7f6e9bcde7a1508109146f462d4627a484eb594.tar.xz
forums-f7f6e9bcde7a1508109146f462d4627a484eb594.zip
- query id can be zero [Bug #4584]
git-svn-id: file:///svn/phpbb/trunk@6438 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/db/firebird.php')
-rw-r--r--phpBB/includes/db/firebird.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/db/firebird.php b/phpBB/includes/db/firebird.php
index b6e11177ae..0a4e74e66e 100644
--- a/phpBB/includes/db/firebird.php
+++ b/phpBB/includes/db/firebird.php
@@ -107,7 +107,7 @@ class dbal_firebird extends dbal
$this->query_result = ($cache_ttl && method_exists($cache, 'sql_load')) ? $cache->sql_load($query) : false;
$this->sql_add_num_queries($this->query_result);
- if (!$this->query_result)
+ if ($this->query_result === false)
{
if (($this->query_result = @ibase_query($this->db_connect_id, $query)) === false)
{