Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <michal@cihar.com>2016-11-15 17:22:32 +0300
committerMichal Čihař <michal@cihar.com>2016-11-15 17:22:32 +0300
commit46eaa53ddd5b6f8810410e1713a1fce70a2c6187 (patch)
tree549e32549b752611739c3a8d9199be1576b2821d /db_export.php
parentea1e3e3a6f9073b51fed5351197e893617a0984d (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.php2
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']
);