Fix #15425 - Backslash in column name resulting an error in editing
Fixes: #15425 Pull-request: #15455 Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
commit
00b93de248
@ -524,7 +524,7 @@ class TableStructureController extends TableController
|
||||
$fields_meta = array();
|
||||
for ($i = 0; $i < $selected_cnt; $i++) {
|
||||
$value = $this->dbi->getColumns(
|
||||
$this->db, $this->table, $selected[$i], true
|
||||
$this->db, $this->table, $this->dbi->escapeString($selected[$i]), true
|
||||
);
|
||||
if (count($value) == 0) {
|
||||
$message = Message::error(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user