Skip to content

Commit

Permalink
fixed document to id transformer
Browse files Browse the repository at this point in the history
  • Loading branch information
pablodip committed Aug 29, 2012
1 parent 6aa1730 commit 2ae0124
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Form/DataTransformer/MandangoDocumentToIdTransformer.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function transform($document)
return null; return null;
} }


return $document->getId()->__toString(); return (string) $document->getId();
} }


public function reverseTransform($key) public function reverseTransform($key)
Expand Down

0 comments on commit 2ae0124

Please sign in to comment.