#206232 follow up by chx: set locale() cache to NULL when resetting

6.x
Gábor Hojtsy 2008-01-04 17:10:36 +00:00
parent 84b1f1cec6
commit d5916e8061
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {