mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
BUGFIX: fixed incorrect self reference
This commit is contained in:
parent
ae8e0fa01a
commit
70944fcabb
@ -299,7 +299,7 @@ class UserDefinedForm_Controller extends Page_Controller {
|
||||
$fieldToAdd->addExtraClass('requiredField');
|
||||
|
||||
if(self::$required_identifier) {
|
||||
$fieldToAdd->setLeftTitle($fieldToAdd->getLeftTitle . ' <span class="requiredIdentifier">'. self::$required_identifier . '</span>');
|
||||
$fieldToAdd->setLeftTitle($fieldToAdd->getLeftTitle . ' <span class="requiredIdentifier">'. UserDefinedForm::$required_identifier . '</span>');
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user