diff options
author | David <ottodavid@gmx.net> | 2015-08-11 18:32:09 +0200 |
---|---|---|
committer | David <ottodavid@gmx.net> | 2015-08-11 18:32:09 +0200 |
commit | cbc337ced4cba058fc1ed38a6b01d7c4e6677c17 (patch) | |
tree | 5eeb104e4d7b33394a7577b37d5194b188496c33 /framework/TPropertyValue.php | |
parent | 606874e9a883ae547df198498fce6fca7b735466 (diff) |
Fixed class usage cases
Class names are not case sensitive but file names are if you are running on an case sensitive file systems. Since class names map to file names, they need to be used case sensitive.
Diffstat (limited to 'framework/TPropertyValue.php')
-rw-r--r-- | framework/TPropertyValue.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/TPropertyValue.php b/framework/TPropertyValue.php index 8c106f82..89b7f06c 100644 --- a/framework/TPropertyValue.php +++ b/framework/TPropertyValue.php @@ -15,7 +15,7 @@ namespace Prado; use Prado\Exceptions\TInvalidDataValueException; -use Prado\Web\Javascripts\TJavascript; +use Prado\Web\Javascripts\TJavaScript; /** * TPropertyValue class @@ -76,7 +76,7 @@ class TPropertyValue */ public static function ensureString($value) { - if (TJavascript::isJsLiteral($value)) + if (TJavaScript::isJsLiteral($value)) return $value; if (is_bool($value)) return $value?'true':'false'; |