summaryrefslogtreecommitdiff
path: root/program/lib/MDB2/Iterator.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-03-12 08:13:59 +0000
committeralecpl <alec@alec.pl>2010-03-12 08:13:59 +0000
commit7244b4500e2b685cee5e9c4746a87f12acb56297 (patch)
tree7649eb06e5ae60b8de741256add44cd74443d47b /program/lib/MDB2/Iterator.php
parentbc404ffd41c3411510a022ae5b0c9f2bfe8f5db1 (diff)
- Merge changes from MDB2's trunk
Diffstat (limited to 'program/lib/MDB2/Iterator.php')
-rw-r--r--program/lib/MDB2/Iterator.php4
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;