Using deprecated StringField::Upper() and StringField::Lower(). Calling $MyEnumField.Upper on the template returns an unresolvable deprecation error.

This commit is contained in:
unclecheese 2012-04-03 15:58:17 -03:00
parent 58d6f15b7e
commit 59706d5bf5

View File

@ -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();
} }
} }