mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/15201] Fix
PHPBB3-15201
This commit is contained in:
parent
b0a2216326
commit
48a3bd1a9e
1 changed files with 2 additions and 6 deletions
|
@ -398,9 +398,7 @@ class acp_styles
|
||||||
|
|
||||||
// Reset default style for users who use selected styles
|
// Reset default style for users who use selected styles
|
||||||
$sql = 'UPDATE ' . USERS_TABLE . '
|
$sql = 'UPDATE ' . USERS_TABLE . '
|
||||||
SET user_style = ' . (int) $this->default_style
|
SET user_style = ' . (int) $this->default_style . '
|
||||||
.
|
|
||||||
'
|
|
||||||
WHERE user_style IN (' . implode(', ', $ids) . ')';
|
WHERE user_style IN (' . implode(', ', $ids) . ')';
|
||||||
$this->db->sql_query($sql);
|
$this->db->sql_query($sql);
|
||||||
|
|
||||||
|
@ -1251,9 +1249,7 @@ class acp_styles
|
||||||
|
|
||||||
// Change default style for users
|
// Change default style for users
|
||||||
$sql = 'UPDATE ' . USERS_TABLE . '
|
$sql = 'UPDATE ' . USERS_TABLE . '
|
||||||
SET user_style = ' . (int) $this->default_style
|
SET user_style = ' . (int) $this->default_style . '
|
||||||
.
|
|
||||||
'
|
|
||||||
WHERE user_style = ' . $id;
|
WHERE user_style = ' . $id;
|
||||||
$this->db->sql_query($sql);
|
$this->db->sql_query($sql);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue