fix variable name
This commit is contained in:
parent
1893e4e250
commit
7b9b90809a
@ -325,7 +325,7 @@ class EntityChoiceField extends ChoiceField
|
|||||||
protected function getReflProperty($property)
|
protected function getReflProperty($property)
|
||||||
{
|
{
|
||||||
if (!isset($this->reflProperties[$property])) {
|
if (!isset($this->reflProperties[$property])) {
|
||||||
$this->reflProperties[$property] = new \ReflectionProperty($this->getOption('class'), $field);
|
$this->reflProperties[$property] = new \ReflectionProperty($this->getOption('class'), $property);
|
||||||
$this->reflProperties[$property]->setAccessible(true);
|
$this->reflProperties[$property]->setAccessible(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user