Skip to content

Commit

Permalink
[DoctrineMongoDBBundle] fixed error when logging bin values in queries
Browse files Browse the repository at this point in the history
  • Loading branch information
kriswallsmith authored and fabpot committed Oct 12, 2010
1 parent 7fb3b2a commit c36612b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -93,7 +93,7 @@ static protected function formatQuery(array $query)
} elseif ($value instanceof \MongoMaxKey) {
$formatted = 'new MaxKey()';
} elseif ($value instanceof \MongoBinData) {
$formatted = 'new BinData("'.$formatted->bin.'", "'.$formatted->type.'")';
$formatted = 'new BinData("'.$value->bin.'", "'.$value->type.'")';
} else {
$formatted = (string) $value;
}
Expand Down

0 comments on commit c36612b

Please sign in to comment.