mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Fixed incorrect word "colon" with "dot"
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@108002 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
2cf33bc2d7
commit
ae6d1c8e33
@ -1845,7 +1845,7 @@ class Member_DatetimeOptionsetField extends OptionsetField {
|
||||
$source = $this->getSource();
|
||||
|
||||
foreach($source as $key => $value) {
|
||||
// convert the ID to an HTML safe value (colons are not replaced, as they are valid in an ID attribute)
|
||||
// convert the ID to an HTML safe value (dots are not replaced, as they are valid in an ID attribute)
|
||||
$itemID = $this->id() . '_' . preg_replace('/[^\.a-zA-Z0-9\-\_]/', '_', $key);
|
||||
if($key == $this->value) {
|
||||
$useValue = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user