Fix double icon rendering.

This commit is contained in:
David Molineus
2015-01-15 18:07:27 +01:00
parent 04c0c75e14
commit 7c249a1254

View File

@@ -73,6 +73,7 @@ class EncoderSubscriber implements EventSubscriberInterface
if ($value instanceof Icon) {
// Do not encode the icon, as it is generated in an separate icon file.
$event->setSuccessful();
$event->stopPropagation();
}
}