diff options
author | ninadsp <ninadsp16289@gmail.com> | 2010-07-23 20:29:15 +0400 |
---|---|---|
committer | ninadsp <ninadsp16289@gmail.com> | 2010-07-23 20:29:15 +0400 |
commit | e646a2760c65204894cb96a7cce61469bee5b9e3 (patch) | |
tree | 323f49566513965362b5e51b58a57f6716791daf /import.php | |
parent | 13ec1423f61e613e653872f3066ca7c9032306d1 (diff) | |
parent | 049886139c62c3ed8b6573a0637ec5516857661f (diff) |
Fixed conflict due to upstream merge
Diffstat (limited to 'import.php')
-rwxr-xr-x | import.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/import.php b/import.php index 4d45a59d8d..b123064191 100755 --- a/import.php +++ b/import.php @@ -4,7 +4,6 @@ * Core script for import, this is just the glue around all other stuff * * @uses PMA_Bookmark_getList() - * @version $Id$ * @package phpMyAdmin */ @@ -343,7 +342,7 @@ if ($import_file != 'none' && !$error) { //$_SESSION['Import_message'] = $message->getDisplay(); // Convert the file's charset if necessary -if ($cfg['AllowAnywhereRecoding'] && isset($charset_of_file)) { +if ($GLOBALS['PMA_recoding_engine'] != PMA_CHARSET_NONE && isset($charset_of_file)) { if ($charset_of_file != $charset) { $charset_conversion = TRUE; } @@ -451,7 +450,7 @@ if (isset($my_die)) { if (! empty($last_query_with_results)) { // but we want to show intermediate results too $disp_query = $sql_query; - $disp_message = __('Your SQL query has been executed successfully'); + $disp_message = __('Your SQL query has been executed successfully'); $sql_query = $last_query_with_results; $go_sql = true; } |