1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-09 02:06:32 +02:00

[ticket/16530] Ensure global $config exists before user setup

PHPBB3-16530
This commit is contained in:
Marc Alexander
2020-06-14 15:46:02 +02:00
parent a7bfe9afed
commit 8a54793ede
3 changed files with 19 additions and 8 deletions

View File

@@ -641,7 +641,7 @@ class user extends \phpbb\session
* Create a DateTimeZone object in the context of the current user
*
* @param string $user_timezone Time zone of the current user.
* @return DateTimeZone DateTimeZone object linked to the current users locale
* @return \DateTimeZone DateTimeZone object linked to the current users locale
*/
public function create_timezone($user_timezone = null)
{