summaryrefslogtreecommitdiff
path: root/drivers/adodb-postgres7.inc.php
diff options
context:
space:
mode:
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);