It is necessary to apply a small patch to use Mozaby with Zabbix 1.8.2.

Add following lines to api_jsonrpc.php there is in web frontend directory.

Before

$http_request = new CHTTP_request();
$content_type = $http_request->header('Content-Type');

After

$http_request = new CHTTP_request();
$content_type = $http_request->header('Content-Type');
$content_type = explode(';', $content_type);
$content_type = $content_type[0];