diff options
author | lorilee <leelorik@gmail.com> | 2010-08-12 00:27:08 +0400 |
---|---|---|
committer | lorilee <leelorik@gmail.com> | 2010-08-12 00:27:08 +0400 |
commit | 4b4374d8b330b16746b29fcc75c16f212349e466 (patch) | |
tree | 0e504d9786dc21f931f3a0b3a36f5b7f6958e6f9 /export.php | |
parent | b87010e89be149a3e6bedf6b5999d26e0ce2492c (diff) |
Check if variable exists before calling
Diffstat (limited to 'export.php')
-rw-r--r-- | export.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/export.php b/export.php index 420274b6d1..5e3011c7a9 100644 --- a/export.php +++ b/export.php @@ -673,9 +673,9 @@ else { * Displays a back button with all the $_REQUEST data in the URL */ // Convert the multiple select elements from an array to a string - if($export_type == 'server') { + if($export_type == 'server' && isset($_REQUEST['db_select'])) { $_REQUEST['db_select'] = implode(",", $_REQUEST['db_select']); - } elseif($export_type == 'database') { + } elseif($export_type == 'database' && isset($_REQUEST['table_select'])) { $_REQUEST['table_select'] = implode(",", $_REQUEST['table_select']); } |