From d5916e806102a43ec4547b78b5da0f828806bfeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Fri, 4 Jan 2008 17:10:36 +0000 Subject: #206232 follow up by chx: set locale() cache to NULL when resetting --- 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 cfb0928ce..61764fa7b 100644 --- a/modules/locale/locale.module +++ b/modules/locale/locale.module @@ -324,7 +324,7 @@ function locale($string = NULL, $langcode = NULL, $reset = FALSE) { if ($reset) { // Reset in-memory cache. - unset($locale_t); + $locale_t = NULL; } if (!isset($string)) { -- cgit v1.2.3