[Form] Fix infinite recursion in RadioField->getName()
This commit is contained in:
parent
fb005396dc
commit
4f54aacfc7
@ -24,6 +24,6 @@ class RadioField extends ToggleField
|
|||||||
public function getName()
|
public function getName()
|
||||||
{
|
{
|
||||||
// TESTME
|
// TESTME
|
||||||
return $this->getParent() ? $this->getParent()->getName() : $this->getName();
|
return $this->getParent() ? $this->getParent()->getName() : parent::getName();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user