summaryrefslogtreecommitdiff
path: root/framework/I18N
diff options
context:
space:
mode:
Diffstat (limited to 'framework/I18N')
-rw-r--r--framework/I18N/core/CultureInfo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/I18N/core/CultureInfo.php b/framework/I18N/core/CultureInfo.php
index 7ee50bba..18aae74d 100644
--- a/framework/I18N/core/CultureInfo.php
+++ b/framework/I18N/core/CultureInfo.php
@@ -218,7 +218,7 @@ class CultureInfo
* @param string a culture
* @return boolean true if valid, false otherwise.
*/
- public function validCulture($culture)
+ public static function validCulture($culture)
{
if(preg_match('/^[_\\w]+$/', $culture))
return is_file(self::dataDir().$culture.self::fileExt());