aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/db/firebird.php
diff options
context:
space:
mode:
authorChris Smith <toonarmy@phpbb.com>2008-08-14 18:38:41 +0000
committerChris Smith <toonarmy@phpbb.com>2008-08-14 18:38:41 +0000
commit1990ee2d4c7bad6f45a1f9fc9e473d3b3b66c132 (patch)
treed1ae21c298653382445d298612abab8dbb77c1fb /phpBB/includes/db/firebird.php
parentd7126ef335c8ca6f5eb9f18197c3c9b5304e7bc0 (diff)
downloadforums-1990ee2d4c7bad6f45a1f9fc9e473d3b3b66c132.tar
forums-1990ee2d4c7bad6f45a1f9fc9e473d3b3b66c132.tar.gz
forums-1990ee2d4c7bad6f45a1f9fc9e473d3b3b66c132.tar.bz2
forums-1990ee2d4c7bad6f45a1f9fc9e473d3b3b66c132.tar.xz
forums-1990ee2d4c7bad6f45a1f9fc9e473d3b3b66c132.zip
Correctly return results for nested cached queries (Bug #31445 - Patch by faw)
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8758 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 d23d1866c1..4382d891d0 100644
--- a/phpBB/includes/db/firebird.php
+++ b/phpBB/includes/db/firebird.php
@@ -238,7 +238,7 @@ class dbal_firebird extends dbal
return false;
}
- return ($this->query_result) ? $this->query_result : false;
+ return ($this->query_result !== false) ? $this->query_result : false;
}
/**