Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[Runtime] Avoided possibility issue

  • Loading branch information...
commit f511569ae2c469cf52598ed2f709cc97dc5e6168 1 parent e074ecf
@willdurand willdurand authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  runtime/lib/formatter/PropelObjectFormatter.php
View
2  runtime/lib/formatter/PropelObjectFormatter.php
@@ -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();
Please sign in to comment.
Something went wrong with that request. Please try again.