diff --git a/assets/snippets/ajaxSearch/ajaxSearchPopup.php b/assets/snippets/ajaxSearch/ajaxSearchPopup.php index ac05ecd2a8..ef794b98b1 100644 --- a/assets/snippets/ajaxSearch/ajaxSearchPopup.php +++ b/assets/snippets/ajaxSearch/ajaxSearchPopup.php @@ -6,7 +6,7 @@ * * @author Coroico - www.modx.wangba.fr * @version 1.9.2 -* @date 05/12/2010 +* @date 11/06/2011 * */ @@ -55,8 +55,8 @@ function parseUserConfig($ucfg) { if ($dcfg['version'] != AS_VERSION) return "

AjaxSearch error: Version number mismatch. Check the content of the default configuration file!

"; $as = new AjaxSearch(); $output = $as->run($tstart, $dcfg); + header("Content-type: text/html; charset=".$modx->getConfig('modx_charset')); } echo $output; } - ?> \ No newline at end of file