Skip to content

Commit

Permalink
Syntax fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam authored and Sam committed May 2, 2014
1 parent fe16ae3 commit 52afc5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EMongoCriteria.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function getCondition() {
*/
public function setSort(array $sort) {

foreach(sort as $field){
foreach($sort as $field){
if($field === 'asc'){
$sort[$field] = 1;
}elseif ($field === 'desc'){
Expand Down

0 comments on commit 52afc5d

Please sign in to comment.