Permalink
Browse files

fixed document to id transformer

  • Loading branch information...
1 parent 6aa1730 commit 2ae0124aa47fa90a98be06a44fb2db7af32233c4 @pablodip pablodip committed Aug 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Form/DataTransformer/MandangoDocumentToIdTransformer.php
View
2 Form/DataTransformer/MandangoDocumentToIdTransformer.php
@@ -37,7 +37,7 @@ public function transform($document)
return null;
}
- return $document->getId()->__toString();
+ return (string) $document->getId();
}
public function reverseTransform($key)

0 comments on commit 2ae0124

Please sign in to comment.