diff options
| author | Nils Adermann <naderman@naderman.de> | 2006-10-03 20:38:03 +0000 |
|---|---|---|
| committer | Nils Adermann <naderman@naderman.de> | 2006-10-03 20:38:03 +0000 |
| commit | f7f6e9bcde7a1508109146f462d4627a484eb594 (patch) | |
| tree | 979f06adc81c873b582d66551bd452595a07fdd8 /phpBB/includes/db/oracle.php | |
| parent | aca3b8c5cfc45538d09d496a954f39efa8c19eba (diff) | |
| download | forums-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/oracle.php')
| -rw-r--r-- | phpBB/includes/db/oracle.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/db/oracle.php b/phpBB/includes/db/oracle.php index a1dc33c566..ee78fe6346 100644 --- a/phpBB/includes/db/oracle.php +++ b/phpBB/includes/db/oracle.php @@ -104,7 +104,7 @@ class dbal_oracle 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) { $in_transaction = false; if (!$this->transaction) |
