diff options
| author | Rubén Calvo <rubencm@gmail.com> | 2017-04-28 12:03:52 +0200 |
|---|---|---|
| committer | Rubén Calvo <rubencm@gmail.com> | 2017-08-28 18:33:38 +0200 |
| commit | 48a3bd1a9e1fe9c6a761b43a1058b4d3c1b6641b (patch) | |
| tree | f23240363f2a07125ad87bd60b0c4498ff7ae39d | |
| parent | b0a22163261075932a92c6c46b36c57c104c3493 (diff) | |
| download | forums-48a3bd1a9e1fe9c6a761b43a1058b4d3c1b6641b.tar forums-48a3bd1a9e1fe9c6a761b43a1058b4d3c1b6641b.tar.gz forums-48a3bd1a9e1fe9c6a761b43a1058b4d3c1b6641b.tar.bz2 forums-48a3bd1a9e1fe9c6a761b43a1058b4d3c1b6641b.tar.xz forums-48a3bd1a9e1fe9c6a761b43a1058b4d3c1b6641b.zip | |
[ticket/15201] Fix
PHPBB3-15201
| -rw-r--r-- | phpBB/includes/acp/acp_styles.php | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/phpBB/includes/acp/acp_styles.php b/phpBB/includes/acp/acp_styles.php index fc6cf26f70..5b31417b83 100644 --- a/phpBB/includes/acp/acp_styles.php +++ b/phpBB/includes/acp/acp_styles.php @@ -398,9 +398,7 @@ class acp_styles // Reset default style for users who use selected styles $sql = 'UPDATE ' . USERS_TABLE . ' - SET user_style = ' . (int) $this->default_style -. -' + SET user_style = ' . (int) $this->default_style . ' WHERE user_style IN (' . implode(', ', $ids) . ')'; $this->db->sql_query($sql); @@ -1251,9 +1249,7 @@ class acp_styles // Change default style for users $sql = 'UPDATE ' . USERS_TABLE . ' - SET user_style = ' . (int) $this->default_style -. -' + SET user_style = ' . (int) $this->default_style . ' WHERE user_style = ' . $id; $this->db->sql_query($sql); |
