Commit 46295c43 authored by drumm's avatar drumm

#71625 by keve, fix checking of an object exists.

parent e616f2b5
......@@ -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");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment