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:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user