make sure egw_json_response object get instancated, so it's destructor get called and sends at least an empty response object, checkpoint dont like empty HTTP responses

This commit is contained in:
Ralf Becker 2011-05-03 19:43:51 +00:00
parent 4e13824fc5
commit fe086b752b

View File

@ -101,6 +101,7 @@ if (isset($_GET['menuaction']))
throw new egw_exception_assertion_failed("JSON Data contains script tags. Aborting..."); throw new egw_exception_assertion_failed("JSON Data contains script tags. Aborting...");
} }
$json->parseRequest($_GET['menuaction'], (array)$_POST['json_data']); $json->parseRequest($_GET['menuaction'], (array)$_POST['json_data']);
egw_json_response::get();
common::egw_exit(); common::egw_exit();
} }