mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR: Made extract() call a little tighter.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@81381 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
e54a2e75e6
commit
212765ae5c
@ -45,7 +45,8 @@ class CheckboxField extends FormField {
|
|||||||
if($this->labelLeft) {
|
if($this->labelLeft) {
|
||||||
return parent::FieldHolder();
|
return parent::FieldHolder();
|
||||||
} else {
|
} 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>" : '';
|
$messageBlock = isset($Message) ? "<span class=\"message $MessageType\">$Message</span>" : '';
|
||||||
$Type = $this->XML_val('Type');
|
$Type = $this->XML_val('Type');
|
||||||
return <<<HTML
|
return <<<HTML
|
||||||
|
Loading…
Reference in New Issue
Block a user