mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
Merge branch 'develop-ascraeus' into develop
This commit is contained in:
commit
8f5bbc95dc
1 changed files with 2 additions and 2 deletions
|
@ -145,9 +145,9 @@ class db extends \phpbb\config\config
|
|||
$sql .= " AND config_value = '" . $this->db->sql_escape($old_value) . "'";
|
||||
}
|
||||
|
||||
$result = $this->db->sql_query($sql);
|
||||
$this->db->sql_query($sql);
|
||||
|
||||
if (!$this->db->sql_affectedrows($result) && isset($this->config[$key]))
|
||||
if (!$this->db->sql_affectedrows() && isset($this->config[$key]))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue