From 7244b4500e2b685cee5e9c4746a87f12acb56297 Mon Sep 17 00:00:00 2001 From: alecpl Date: Fri, 12 Mar 2010 08:13:59 +0000 Subject: - Merge changes from MDB2's trunk --- program/lib/MDB2/Iterator.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'program/lib/MDB2/Iterator.php') 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 | // +----------------------------------------------------------------------+ // -// $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; -- cgit v1.2.3