mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Using deprecated StringField::Upper() and StringField::Lower(). Calling $MyEnumField.Upper on the template returns an unresolvable deprecation error.
This commit is contained in:
parent
58d6f15b7e
commit
59706d5bf5
@ -87,10 +87,10 @@ class Enum extends DBField {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function Lower() {
|
function Lower() {
|
||||||
return StringField::Lower();
|
return StringField::LowerCase();
|
||||||
}
|
}
|
||||||
function Upper() {
|
function Upper() {
|
||||||
return StringField::Upper();
|
return StringField::UpperCase();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user