diff options
author | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-07-19 06:23:44 +0000 |
---|---|---|
committer | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-07-19 06:23:44 +0000 |
commit | 46295c435ecf13d1784e6a465b253a59fdb1fd57 (patch) | |
tree | 8e3bf9328d467b49680633cda8f443d7aa0a4dce | |
parent | e616f2b58095a22edf3c4de6aba4fc995a0cc7f7 (diff) | |
download | brdo-46295c435ecf13d1784e6a465b253a59fdb1fd57.tar.gz brdo-46295c435ecf13d1784e6a465b253a59fdb1fd57.tar.bz2 |
#71625 by keve, fix checking of an object exists.
-rw-r--r-- | modules/locale/locale.module | 2 |
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"); } |