diff options
Diffstat (limited to 'framework/I18N/core')
-rw-r--r-- | framework/I18N/core/CultureInfo.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/I18N/core/CultureInfo.php b/framework/I18N/core/CultureInfo.php index 39b8495a..fe2c45e6 100644 --- a/framework/I18N/core/CultureInfo.php +++ b/framework/I18N/core/CultureInfo.php @@ -254,7 +254,7 @@ class CultureInfo if(is_file($filename) == false)
throw new Exception('Data file for "'.$file.'" was not found.');
- if(!isset($this->dataFiles[$filename]))
+ if(in_array($filename, $this->dataFiles) === false)
{
array_unshift($this->dataFiles, $file);
|