Backquote phpMyAdmin table name on internal relation delete query
Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
parent
33b332d5eb
commit
ab6fedbd5c
@ -776,7 +776,7 @@ class Common
|
|||||||
// internal relations
|
// internal relations
|
||||||
$delete_query = 'DELETE FROM '
|
$delete_query = 'DELETE FROM '
|
||||||
. Util::backquote($GLOBALS['cfgRelation']['db']) . '.'
|
. Util::backquote($GLOBALS['cfgRelation']['db']) . '.'
|
||||||
. $GLOBALS['cfgRelation']['relation'] . ' WHERE '
|
. Util::backquote($GLOBALS['cfgRelation']['relation']) . ' WHERE '
|
||||||
. "master_db = '" . $this->dbi->escapeString($DB2) . "'"
|
. "master_db = '" . $this->dbi->escapeString($DB2) . "'"
|
||||||
. " AND master_table = '" . $this->dbi->escapeString($T2) . "'"
|
. " AND master_table = '" . $this->dbi->escapeString($T2) . "'"
|
||||||
. " AND master_field = '" . $this->dbi->escapeString($F2) . "'"
|
. " AND master_field = '" . $this->dbi->escapeString($F2) . "'"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user