mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 03:54:10 +01:00
Fix 2 minor errors:
1. Set user_style on registration to the board default 2. Do not try to use the template when throwing an error about a missing style git-svn-id: file:///svn/phpbb/trunk@5426 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
7174244446
commit
479f95661e
@ -786,7 +786,7 @@ class user extends session
|
||||
|
||||
if (!$this->theme)
|
||||
{
|
||||
trigger_error('Could not get style data');
|
||||
trigger_error('Could not get style data', E_USER_ERROR);
|
||||
}
|
||||
|
||||
// Now parse the cfg file and cache it
|
||||
|
@ -240,6 +240,7 @@ class ucp_register
|
||||
'group_id' => (int) $group_id,
|
||||
'user_timezone' => (float) $tz,
|
||||
'user_lang' => $lang,
|
||||
'user_style' => $config['default_style'],
|
||||
'user_allow_pm' => 1,
|
||||
'user_type' => $user_type,
|
||||
'user_actkey' => $user_actkey,
|
||||
|
Loading…
x
Reference in New Issue
Block a user