Backquote phpMyAdmin table name on internal relation delete query

Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
William Desportes 2021-06-27 16:00:31 +02:00
parent 33b332d5eb
commit ab6fedbd5c
No known key found for this signature in database
GPG Key ID: 90A0EF1B8251A889

View File

@ -776,7 +776,7 @@ class Common
// internal relations
$delete_query = 'DELETE FROM '
. Util::backquote($GLOBALS['cfgRelation']['db']) . '.'
. $GLOBALS['cfgRelation']['relation'] . ' WHERE '
. Util::backquote($GLOBALS['cfgRelation']['relation']) . ' WHERE '
. "master_db = '" . $this->dbi->escapeString($DB2) . "'"
. " AND master_table = '" . $this->dbi->escapeString($T2) . "'"
. " AND master_field = '" . $this->dbi->escapeString($F2) . "'"