Browse Source

Add missing property declaration

Grégoire Paris 8 years ago
parent
commit
1d9ef6ec97
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Form/ChoiceList/ModelChoiceLoader.php

+ 2 - 0
Form/ChoiceList/ModelChoiceLoader.php

@@ -26,6 +26,8 @@ use Symfony\Component\PropertyAccess\PropertyPath;
  */
 class ModelChoiceLoader implements ChoiceLoaderInterface
 {
+    public $identifier;
+
     /**
      * @var \Sonata\AdminBundle\Model\ModelManagerInterface
      */