summaryrefslogtreecommitdiff
path: root/modules/locale/locale.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/locale/locale.module')
-rw-r--r--modules/locale/locale.module2
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)) {