diff options
author | Michal Čihař <michal@cihar.com> | 2016-01-19 13:31:41 +0300 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2016-01-19 13:31:41 +0300 |
commit | 0f119bb3293273c75f7f30d844cf764822cc8eee (patch) | |
tree | c8fb57f13df98d22fd1c0499968a2fef9abe28a7 /export.php | |
parent | 8e99da9685ee728b39d8e998c61b15e1df17659a (diff) | |
parent | 76e003a8cb53115ed301f0e42cc53f735ec14216 (diff) |
Merge branch 'QA_4_5'
Diffstat (limited to 'export.php')
-rw-r--r-- | export.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/export.php b/export.php index 082cbd74f0..4b765e1659 100644 --- a/export.php +++ b/export.php @@ -163,11 +163,12 @@ if (!defined('TESTSUITE')) { } $table = $GLOBALS['table']; - // sanitize this parameter which will be used below in a file inclusion - $what = PMA_securePath($_POST['what']); PMA\libraries\Util::checkParameters(array('what', 'export_type')); + // sanitize this parameter which will be used below in a file inclusion + $what = PMA_securePath($_POST['what']); + // export class instance, not array of properties, as before /* @var $export_plugin ExportPlugin */ $export_plugin = PMA_getPlugin( |