Skip to content

Commit

Permalink
Merge pull request #160 from m4tthumphrey/patch-1
Browse files Browse the repository at this point in the history
Fixed typo on method name
  • Loading branch information
willdurand committed Aug 28, 2012
2 parents 6b9ad4c + e615400 commit e4e1a37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reference/model-criteria.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Propel uses the column name in conjunction with the schema to determine the colu
<?php
// $con is a PDO instance
$stmt = $con->prepare($query);
$stmt->bind(':p1', time() - 30 * 24 * 60 * 60, PDO::PARAM_INT);
$stmt->bindParam(':p1', time() - 30 * 24 * 60 * 60, PDO::PARAM_INT);
$res = $stmt->execute();
{% endhighlight %}

Expand Down

0 comments on commit e4e1a37

Please sign in to comment.