diff options
author | Michal Čihař <michal@cihar.com> | 2016-01-19 13:26:59 +0300 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2016-01-19 13:26:59 +0300 |
commit | 5359d9a968101a78c08a41cb4a77c9189595f7bb (patch) | |
tree | e78bfadd679141dc9953ca7ca2a68f3d39c2ba42 /schema_export.php | |
parent | a6ae24741e01bdbd4e3b7165183b800646fc8d73 (diff) |
Check for parameter before using it
Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'schema_export.php')
-rw-r--r-- | schema_export.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/schema_export.php b/schema_export.php index ec1c4e0b54..b28ae6758f 100644 --- a/schema_export.php +++ b/schema_export.php @@ -22,6 +22,10 @@ require_once 'libraries/Index.class.php'; require_once 'libraries/pmd_common.php'; require_once 'libraries/plugin_interface.lib.php'; +if (! isset($_REQUEST['export_type'])) { + PMA_Util::checkParameters(array('export_type')); +} + /** * Include the appropriate Schema Class depending on $export_type * default is PDF |