From 4b4374d8b330b16746b29fcc75c16f212349e466 Mon Sep 17 00:00:00 2001 From: lorilee Date: Wed, 11 Aug 2010 13:27:08 -0700 Subject: [PATCH] Check if variable exists before calling --- export.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/export.php b/export.php index 420274b6d..5e3011c7a 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']); }