diff --git a/forms/CheckboxField.php b/forms/CheckboxField.php index 1a6045a14..cc9d7a35e 100755 --- a/forms/CheckboxField.php +++ b/forms/CheckboxField.php @@ -45,7 +45,8 @@ class CheckboxField extends FormField { if($this->labelLeft) { return parent::FieldHolder(); } else { - extract($this->getXMLValues(array( 'Name', 'Field', 'Title', 'Message', 'MessageType' ))); + extract($this->getXMLValues(array( 'Name', 'Field', 'Title', 'Message', 'MessageType' )), + EXTR_SKIP); $messageBlock = isset($Message) ? "<span class=\"message $MessageType\">$Message</span>" : ''; $Type = $this->XML_val('Type'); return <<<HTML