mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-16 06:36:39 +02:00
[ticket/10202] SQL escape the table name.
PHPBB3-10202
This commit is contained in:
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user