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:
authorMichal Čihař <michal@cihar.com>2016-10-04 13:17:21 +0300
committerMichal Čihař <michal@cihar.com>2016-10-04 13:17:21 +0300
commit3f0122b6f45d682d3e35b5fe672910f68d3c10bf (patch)
tree41321adf03ed5838df8fba125b6887037faf8fde /import.php
parent82158f4c482cc2a46689dc4ccbcf29da45430c92 (diff)
parenta7786dd93a5ce1ee6a6026864275bb5b753b87ae (diff)
Merge branch 'QA_4_6'
Diffstat (limited to 'import.php')
-rw-r--r--import.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/import.php b/import.php
index 7e58f6a7aa..779a78ee6e 100644
--- a/import.php
+++ b/import.php
@@ -203,7 +203,10 @@ if ($_POST == array() && $_GET == array()) {
$_SESSION['Import_message']['message'] = $message->getDisplay();
$_SESSION['Import_message']['go_back_url'] = $GLOBALS['goto'];
- $message->display();
+ $response = PMA\libraries\Response::getInstance();
+ $response->setRequestStatus(false);
+ $response->addJSON('message', $message);
+
exit; // the footer is displayed automatically
}