mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/10202] SQL escape the table name.
PHPBB3-10202
This commit is contained in:
parent
95764c4f0e
commit
af02681960
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ class phpbb_config_db_text
|
||||||
public function __construct(phpbb_db_driver $db, $table)
|
public function __construct(phpbb_db_driver $db, $table)
|
||||||
{
|
{
|
||||||
$this->db = $db;
|
$this->db = $db;
|
||||||
$this->table = $table;
|
$this->table = $this->db->sql_escape($table);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue