From 2b01702c0456d7160acee382a550428dc1b19913 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sat, 27 Jun 2009 18:48:58 +0000 Subject: [PATCH] undefined variable table_select when just clicking the Export menu tab --- db_export.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db_export.php b/db_export.php index ad4b1e49bc..8d96e7cd7b 100644 --- a/db_export.php +++ b/db_export.php @@ -58,7 +58,7 @@ foreach ($tables as $each_table) { // continue; //} if (! empty($unselectall) - || !in_array($each_table['Name'], $table_select)) { + || (! empty($table_select) && !in_array($each_table['Name'], $table_select))) { $is_selected = ''; } else { $is_selected = ' selected="selected"';