Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Using deprecated StringField::Upper() and StringField::Lower(). Calli…

…ng $MyEnumField.Upper on the template returns an unresolvable deprecation error.
  • Loading branch information...
commit 59706d5bf5618a39e5274f5d819d6bf81ea1453d 1 parent 58d6f15
@unclecheese unclecheese authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 model/fieldtypes/Enum.php
View
4 model/fieldtypes/Enum.php
@@ -87,10 +87,10 @@ function enumValues($hasEmpty = false) {
}
function Lower() {
- return StringField::Lower();
+ return StringField::LowerCase();
}
function Upper() {
- return StringField::Upper();
+ return StringField::UpperCase();
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.