Skip to content
This repository
Browse code

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 authored April 03, 2012

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  model/fieldtypes/Enum.php
4  model/fieldtypes/Enum.php
@@ -87,10 +87,10 @@ function enumValues($hasEmpty = false) {
87 87
 	}
88 88
 	
89 89
 	function Lower() {
90  
-		return StringField::Lower();
  90
+		return StringField::LowerCase();
91 91
 	}
92 92
 	function Upper() {
93  
-		return StringField::Upper();
  93
+		return StringField::UpperCase();
94 94
 	}
95 95
 }
96 96
 

0 notes on commit 59706d5

Please sign in to comment.
Something went wrong with that request. Please try again.