mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[feature/new-tz-handling] Correct a bug preventing multiple formats working.
PHPBB3-9558
This commit is contained in:
parent
190b019fa2
commit
f17664a00c
1 changed files with 14 additions and 14 deletions
|
@ -149,6 +149,7 @@ class phpbb_datetime extends DateTime
|
|||
if (!isset(self::$format_cache[$lang]))
|
||||
{
|
||||
self::$format_cache[$lang] = array();
|
||||
}
|
||||
|
||||
if (!isset(self::$format_cache[$lang][$format]))
|
||||
{
|
||||
|
@ -166,7 +167,6 @@ class phpbb_datetime extends DateTime
|
|||
self::$format_cache[$lang][$format]['lang']['May'] = $user->lang['datetime']['May_short'];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return self::$format_cache[$lang][$format];
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue