Skip to content
Browse files

fix notice

  • Loading branch information...
1 parent a27b11e commit 6dc8859b74d90f6557c66ec909175cae75805335 @m6w6 m6w6 committed Jul 5, 2012
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) {

0 comments on commit 6dc8859

Please sign in to comment.
Something went wrong with that request. Please try again.