diff --git a/mail/inc/class.mail_compose.inc.php b/mail/inc/class.mail_compose.inc.php index a8b50ab781..bf31d87466 100644 --- a/mail/inc/class.mail_compose.inc.php +++ b/mail/inc/class.mail_compose.inc.php @@ -2916,6 +2916,9 @@ class mail_compose foreach ((array)$results as $k => $_result) {$rL[$_result['id']]=$_result['label'];}; return $rL; } + // switch regular JSON response handling off + egw_json_request::isJSONRequest(false); + header('Content-Type: application/json; charset=utf-8'); //error_log(__METHOD__.__LINE__); echo json_encode($results);