diff --git a/html/ajax_search.php b/html/ajax_search.php
index e9ddad36f5..cb8d012a33 100644
--- a/html/ajax_search.php
+++ b/html/ajax_search.php
@@ -19,7 +19,7 @@ $bgp = array();
if (isset($_REQUEST['search'])) {
$search = mres($_REQUEST['search']);
-
+ header('Content-type: application/json');
if (strlen($search) > 0) {
$found = 0;