#206232 follow up by chx: set locale() cache to NULL when resetting
parent
84b1f1cec6
commit
d5916e8061
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue