Hi there,

I noticed that DoctrineMongoDBLogger.php in DoctrineMongoDBBundle has
a minor bug in line 96:
$formatted = 'new BinData("'.$formatted ->bin.'", "'.$formatted -
>type.'")';

This should be written as:
$formatted = 'new BinData("'.$value->bin.'", "'.$value->type.'")';

The bug causes "Notice: Trying to get property of non-object in .../
src/vendor/symfony/src/Symfony/Bundle/DoctrineMongoDBBundle/Logger/
DoctrineMongoDBLogger.php line 96" error when trying to persist a
document containing one or more binary fields.

Best regards,
Ville

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to