diff options
author | Michal Čihař <michal@cihar.com> | 2016-11-15 17:22:32 +0300 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2016-11-15 17:22:32 +0300 |
commit | 46eaa53ddd5b6f8810410e1713a1fce70a2c6187 (patch) | |
tree | 549e32549b752611739c3a8d9199be1576b2821d /db_export.php | |
parent | ea1e3e3a6f9073b51fed5351197e893617a0984d (diff) |
Check parameter type before processing
Fixes #12443
Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'db_export.php')
-rw-r--r-- | db_export.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db_export.php b/db_export.php index abd4b4c3d7..2ff84170d2 100644 --- a/db_export.php +++ b/db_export.php @@ -109,7 +109,7 @@ foreach ($tables as $each_table) { } else { $structure_checked = $is_checked; } - if (isset($_GET['table_data'])) { + if (isset($_GET['table_data']) && is_array($_GET['table_data'])) { $data_checked = PMA_getCheckedClause( $each_table['Name'], $_GET['table_data'] ); |