diff options
Diffstat (limited to 'program/lib/MDB2/Iterator.php')
-rw-r--r-- | program/lib/MDB2/Iterator.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/lib/MDB2/Iterator.php b/program/lib/MDB2/Iterator.php index 2eb0d715a..7f0a65f08 100644 --- a/program/lib/MDB2/Iterator.php +++ b/program/lib/MDB2/Iterator.php @@ -42,7 +42,7 @@ // | Author: Lukas Smith <smith@pooteeweet.org> | // +----------------------------------------------------------------------+ // -// $Id: Iterator.php 212543 2006-05-06 14:03:41Z lsmith $ +// $Id: Iterator.php 295586 2010-02-28 17:04:17Z quipo $ /** * PHP5 Iterator @@ -112,7 +112,7 @@ class MDB2_Iterator implements Iterator */ public function current() { - if (is_null($this->row)) { + if (null === $this->row) { $row = $this->result->fetchRow($this->fetchmode); if (PEAR::isError($row)) { $row = false; |