From 7244b4500e2b685cee5e9c4746a87f12acb56297 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Fri, 12 Mar 2010 03:13:59 -0500 Subject: [PATCH] - Merge changes from MDB2's trunk --- 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 2eb0d71..7f0a65f 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 @@ */ public function current() { - if (is_null($this->row)) { + if (null === $this->row) { $row = $this->result->fetchRow($this->fetchmode); if (PEAR::isError($row)) { $row = false; -- Gitblit v1.9.1