diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2008-01-04 17:10:36 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2008-01-04 17:10:36 +0000 |
commit | d5916e806102a43ec4547b78b5da0f828806bfeb (patch) | |
tree | 075ea8b1707b3154a6197dbeb1f7962d8678d4fa /modules | |
parent | 84b1f1cec61c78eab72dc2bbab947131d4b7be9c (diff) | |
download | brdo-d5916e806102a43ec4547b78b5da0f828806bfeb.tar.gz brdo-d5916e806102a43ec4547b78b5da0f828806bfeb.tar.bz2 |
#206232 follow up by chx: set locale() cache to NULL when resetting
Diffstat (limited to 'modules')
-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 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)) { |