From 46295c435ecf13d1784e6a465b253a59fdb1fd57 Mon Sep 17 00:00:00 2001 From: Neil Drumm Date: Wed, 19 Jul 2006 06:23:44 +0000 Subject: #71625 by keve, fix checking of an object exists. --- modules/locale/locale.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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"); } -- cgit v1.2.3