summaryrefslogtreecommitdiff
path: root/roundcubemail/program/lib/MDB2/Iterator.php
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-03-12 08:13:59 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-03-12 08:13:59 +0000
commit7e0e67abb881494f63d6cab74d6dc321916114b1 (patch)
treee4ec2d11a806b5e470633a9a285552e91a057d2c /roundcubemail/program/lib/MDB2/Iterator.php
parentea2192a716fd087f969d01ba1a413756f41ce971 (diff)
- Merge changes from MDB2's trunk
git-svn-id: https://svn.roundcube.net/trunk@3354 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/lib/MDB2/Iterator.php')
-rw-r--r--roundcubemail/program/lib/MDB2/Iterator.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/lib/MDB2/Iterator.php b/roundcubemail/program/lib/MDB2/Iterator.php
index 2eb0d715a..7f0a65f08 100644
--- a/roundcubemail/program/lib/MDB2/Iterator.php
+++ b/roundcubemail/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;