diff options
Diffstat (limited to 'phpBB/includes/formatted_text.php')
-rw-r--r-- | phpBB/includes/formatted_text.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/formatted_text.php b/phpBB/includes/formatted_text.php index 418c886998..ca801bfea7 100644 --- a/phpBB/includes/formatted_text.php +++ b/phpBB/includes/formatted_text.php @@ -150,9 +150,9 @@ class formatted_text { $this->changed = false; - $sql = 'UPDATE ' . $table . ' SET ' . $db->sql_build_query('UPDATE', $this->to_db_data($column)) - . ' WHERE ' . $where; - return (bool) $db->sql_query($sql); + $sql = 'UPDATE ' . $table . ' SET ' . phpbb::$db->sql_build_query('UPDATE', $this->to_db_data($column)) + . ' WHERE ' . $where; + return (bool) phpbb::$db->sql_query($sql); } /** |