1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-01-18 14:48:28 +01:00

[ticket/16144] Provide extra fallback to board's default style for $user

PHPBB3-16144
This commit is contained in:
3D-I 2019-09-23 18:54:45 +02:00
parent 942bfd6506
commit a84e4b5ab4

View File

@ -314,7 +314,7 @@ class user extends \phpbb\session
} }
} }
// This should never happens // This should never happen
if (!$this->style) if (!$this->style)
{ {
trigger_error($this->language->lang('NO_STYLE_DATA', $this->data['user_style'], $this->data['user_id']), E_USER_ERROR); trigger_error($this->language->lang('NO_STYLE_DATA', $this->data['user_style'], $this->data['user_id']), E_USER_ERROR);