Commit d5916e80 authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

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

parent 84b1f1ce
......@@ -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)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment