Merge pull request #375 from merk/2.5-fix

Fix ValidatorParser in symfony 2.5
This commit is contained in:
William Durand 2014-05-12 12:01:33 -04:00
commit 493963f0c0

View File

@ -24,7 +24,7 @@ class LoadExtractorParsersPass implements CompilerPassInterface
} }
// validation may not be installed/enabled, if it is, load that config as well // validation may not be installed/enabled, if it is, load that config as well
if ($container->hasDefinition('validator.mapping.class_metadata_factory')) { if ($container->has('validator.mapping.class_metadata_factory')) {
$loader->load('services.validation.xml'); $loader->load('services.validation.xml');
} }