Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadhura Jayaratne <madhura.cj@gmail.com>2013-05-21 15:14:41 +0400
committerMadhura Jayaratne <madhura.cj@gmail.com>2013-05-21 15:14:41 +0400
commitef4d9361d13d3d8ff04c29cd4c4b3c60deb7607e (patch)
tree38fcb6fb974940b140094607b6a8ba3c25df0fb9 /db_export.php
parent9c6632441d936ab28e9ce81c6882604973484351 (diff)
bug #3948 Server export problems
Diffstat (limited to 'db_export.php')
-rw-r--r--db_export.php12
1 files changed, 7 insertions, 5 deletions
diff --git a/db_export.php b/db_export.php
index 26dab8d9f3..2b2fde41db 100644
--- a/db_export.php
+++ b/db_export.php
@@ -40,7 +40,7 @@ $multi_values .= ' onclick="setSelectOptions(\'dump\', \'table_select[]\', true)
$multi_values .= __('Select All');
$multi_values .= '</a>';
$multi_values .= ' / ';
-$multi_values .= '<a href="#';
+$multi_values .= '<a href="#"';
$multi_values .= ' onclick="setSelectOptions(\'dump\', \'table_select[]\', false); return false;">';
$multi_values .= __('Unselect All');
$multi_values .= '</a><br />';
@@ -66,10 +66,12 @@ foreach ($tables as $each_table) {
} else {
$is_selected = '';
}
- } elseif (! empty($unselectall)
- || (! empty($table_select) && !in_array($each_table['Name'], $table_select))
- ) {
- $is_selected = '';
+ } elseif (isset($table_select)) {
+ if (in_array($each_table['Name'], $table_select)) {
+ $is_selected = ' selected="selected"';
+ } else {
+ $is_selected = '';
+ }
} else {
$is_selected = ' selected="selected"';
}