Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix notice

  • Loading branch information...
commit 6dc8859b74d90f6557c66ec909175cae75805335 1 parent a27b11e
@m6w6 m6w6 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  RedBean/OODB.php
View
2  RedBean/OODB.php
@@ -646,7 +646,7 @@ public function load($type,$id) {
if ($this->isFrozen) throw $e; //only throw if frozen;
}
}
- if (!$rows) return $bean; // $this->dispense($type); -- no need...
+ if (empty($rows)) return $bean; // $this->dispense($type); -- no need...
$row = array_pop($rows);
}
foreach($row as $p=>$v) {
Please sign in to comment.
Something went wrong with that request. Please try again.