diff options
Diffstat (limited to 'modules/locale.module')
-rw-r--r-- | modules/locale.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/locale.module b/modules/locale.module index ce7ea86d1..9fbb3d38b 100644 --- a/modules/locale.module +++ b/modules/locale.module @@ -314,7 +314,7 @@ function locale($string) { $locale_t = unserialize($cache->data); } - if ($locale_t[$string] != "") { + if (array_key_exists($string, $locale_t)) { $string = $locale_t[$string]; } else { |