summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/locale/locale.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/locale/locale.module b/modules/locale/locale.module
index c7435276f..e7d3cd63d 100644
--- a/modules/locale/locale.module
+++ b/modules/locale/locale.module
@@ -178,7 +178,7 @@ function locale($string) {
if (!isset($locale_t)) {
$cache = cache_get("locale:$locale");
- if ($cache == 0) {
+ if (!$cache) {
locale_refresh_cache();
$cache = cache_get("locale:$locale");
}