[Form] Fix infinite recursion in RadioField->getName()

This commit is contained in:
Matthew Lewinski 2011-02-22 20:38:29 -06:00
parent fb005396dc
commit 4f54aacfc7

View File

@ -24,6 +24,6 @@ class RadioField extends ToggleField
public function getName()
{
// TESTME
return $this->getParent() ? $this->getParent()->getName() : $this->getName();
return $this->getParent() ? $this->getParent()->getName() : parent::getName();
}
}