summaryrefslogtreecommitdiff
path: root/drivers/adodb-postgres7.inc.php
diff options
context:
space:
mode:
authorDamien Regad <dregad@mantisbt.org>2015-05-12 00:40:17 +0200
committerDamien Regad <dregad@mantisbt.org>2015-05-15 00:59:35 +0200
commitf6031dfad3ce1ef209282fe62b23d2b3c5c6b65f (patch)
treeb66c792cf7a1a7a08d20a0db04417d96a951f9d9 /drivers/adodb-postgres7.inc.php
parent32a479a182c86f4b15c337ca6b1d3f4b967e37a8 (diff)
downloadadodb-f6031dfad3ce1ef209282fe62b23d2b3c5c6b65f.tar.gz
adodb-f6031dfad3ce1ef209282fe62b23d2b3c5c6b65f.tar.bz2
adodb-f6031dfad3ce1ef209282fe62b23d2b3c5c6b65f.zip
Coding guidelines and whitespace
Diffstat (limited to 'drivers/adodb-postgres7.inc.php')
-rw-r--r--drivers/adodb-postgres7.inc.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/adodb-postgres7.inc.php b/drivers/adodb-postgres7.inc.php
index 0c0ae862..bc37582e 100644
--- a/drivers/adodb-postgres7.inc.php
+++ b/drivers/adodb-postgres7.inc.php
@@ -344,8 +344,9 @@ class ADORecordSet_assoc_postgres7 extends ADORecordSet_postgres64{
function _fetch()
{
- if ($this->_currentRow >= $this->_numOfRows && $this->_numOfRows >= 0)
+ if ($this->_currentRow >= $this->_numOfRows && $this->_numOfRows >= 0) {
return false;
+ }
$this->fields = @pg_fetch_array($this->_queryID,$this->_currentRow,$this->fetchMode);