diff --git a/server_synchronize.php b/server_synchronize.php index 6312467f7..5a467614e 100644 --- a/server_synchronize.php +++ b/server_synchronize.php @@ -459,7 +459,7 @@ if ((isset($_REQUEST['submit_connect']))) {
'; echo ''; } @@ -557,7 +557,7 @@ if (isset($_REQUEST['Table_ids'])) { /** * Applying the structure difference on selected matching tables */ - for($q = 0 ; $q < sizeof($matching_table_structure_diff); $q++) + for($q = 0; $q < sizeof($matching_table_structure_diff); $q++) { if (isset($alter_str_array[$matching_table_structure_diff[$q]])) { @@ -698,14 +698,15 @@ if (isset($_REQUEST['Table_ids'])) { if (!(in_array($uncommon_table_data_diff[$r], $uncommon_table_structure_diff))) { if (isset($uncommon_tables[$uncommon_table_data_diff[$r]])) { - PMA_createTargetTables($src_db, $trg_db, $src_link, $trg_link, $uncommon_tables, $uncommon_table_data_diff[$r], $uncommon_tables_fields, false); + PMA_createTargetTables($src_db, $trg_db, $src_link, $trg_link, $uncommon_tables, $uncommon_table_data_diff[$r], + $uncommon_tables_fields, false); $_SESSION['uncommon_tables_fields'] = $uncommon_tables_fields; unset($uncommon_tables[$uncommon_table_data_diff[$r]]); } } PMA_populateTargetTables($src_db, $trg_db, $src_link, $trg_link, $source_tables_uncommon, $uncommon_table_data_diff[$r], - $_SESSION['uncommon_tables_fields'], false); + $_SESSION['uncommon_tables_fields'], false); unset($row_count[$uncommon_table_data_diff[$r]]); } @@ -714,13 +715,13 @@ if (isset($_REQUEST['Table_ids'])) { * The differences have been removed from tables that have been synchronized */ echo '