diff --git a/db_readdump.php3 b/db_readdump.php3 index df0da23d9..610263879 100755 --- a/db_readdump.php3 +++ b/db_readdump.php3 @@ -70,6 +70,9 @@ if (!empty($prev_sql_query)) { } } +// Copy the query, used for display purposes only +$sql_query_cpy = $sql_query; + /** * Executes the query @@ -117,9 +120,6 @@ if ($sql_query != '') { } // end if -// be nice with bandwidth... -$sql_query = ""; - /** * Go back to the calling script */ @@ -127,8 +127,14 @@ require('./header.inc.php3'); if (isset($my_die)) { mysql_die('', $my_die); } - -$message = "$strSuccess: $strTheContent ($pieces_count $strInstructions)  "; +// Be nice with bandwidth... +if ($sql_file != 'none' && $pieces_count > 10) { + $sql_query = ''; + unset($sql_query_cpy); + $message = "$strSuccess :
$strTheContent ($pieces_count $strInstructions) "; +} else { + $message = $strSuccess; +} if (!isset($goto) || ($goto != 'db_details.php3' && $goto != 'tbl_properties.php3')) { $goto = 'db_details.php3';