diff options
author | Michal Čihař <michal@cihar.com> | 2016-08-01 12:05:39 +0300 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2016-08-01 12:05:39 +0300 |
commit | 3bcd45f87f64330f890e5cd5e22c39cdcd419ea6 (patch) | |
tree | 7807c3e91958c7e8e9307a47d30423128cb1eb60 /sql.php | |
parent | 257a74e116d44e5ede4d69e9b108721d62933cb4 (diff) | |
parent | 2ee0e4ed0e86572f15764fea6ef37bdaf546e6ee (diff) |
Merge commit '2ee0e4ed0e86572f15764fea6ef37bdaf546e6ee'
Diffstat (limited to 'sql.php')
-rw-r--r-- | sql.php | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -141,11 +141,15 @@ require_once 'libraries/parse_analyze.lib.php'; list( $analyzed_sql_results, $db, - $table + $table_from_sql ) = PMA_parseAnalyze($sql_query, $db); // @todo: possibly refactor extract($analyzed_sql_results); +if ($table != $table_from_sql && !empty($table_from_sql)) { + $table = $table_from_sql; +} + /** * Check rights in case of DROP DATABASE |