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>2017-11-28 14:39:54 +0300
committerMichal Čihař <michal@cihar.com>2017-11-28 14:40:03 +0300
commit4f2709fe01453ec6fc9100b01cab73f81d68e94e (patch)
tree36ae421aa62d74d62cd748da4560653e603d7ffa /ajax.php
parent2442877cca61a87aeb247f9d5698b500a5c9a7bc (diff)
Enforce AJAX response
Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'ajax.php')
-rw-r--r--ajax.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/ajax.php b/ajax.php
index 99de1180ac..5f4fc8c22f 100644
--- a/ajax.php
+++ b/ajax.php
@@ -15,6 +15,7 @@ $_GET['ajax_request'] = 'true';
require_once 'libraries/common.inc.php';
$response = Response::getInstance();
+$response->setAJAX(true);
if (empty($_POST['type'])) {
Core::fatalError(__('Bad type!'));