Skip to content

Commit

Permalink
[Runtime] Avoided possibility issue
Browse files Browse the repository at this point in the history
  • Loading branch information
willdurand committed May 24, 2012
1 parent e074ecf commit f511569
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/lib/formatter/PropelObjectFormatter.php
Expand Up @@ -73,8 +73,8 @@ public function formatOne(PDOStatement $stmt)

$result = null;
while ($row = $stmt->fetch(PDO::FETCH_NUM)) {
$result = $this->getAllObjectsFromRow($row);
$this->mainObject = $result;
$result = $this->getAllObjectsFromRow($row);
}

$stmt->closeCursor();
Expand Down

0 comments on commit f511569

Please sign in to comment.