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"';