sonata-project/SonataMediaBundle — pull request #395 by Azer- (2013-09-11 22:25:00+00:00)
Title: Fix, to allow batchDelete

Hi,
Batch delete was causing a
```
FatalErrorException: Error: Cannot use object of type Application\Sonata\MediaBundle\Document\Media
as array in [...] vendor/sonata-project/media-bundle/Sonata/MediaBundle/Admin/Manager/DoctrineMongoDBManager.php line 57
```
before this.
Thanks !