From a66d1d0394ac75ca08909f8d7cbb4d71e3eb0218 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 3 May 2011 19:45:22 +0000 Subject: [PATCH] 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 --- json.php | 1 + 1 file changed, 1 insertion(+) diff --git a/json.php b/json.php index ab3a053f05..6686166bb5 100644 --- a/json.php +++ b/json.php @@ -100,6 +100,7 @@ if (isset($_GET['menuaction'])) throw new egw_exception_assertion_failed("JSON Data contains script tags. Aborting..."); } $json->parseRequest($_GET['menuaction'], (array)$_POST['json_data']); + egw_json_response::get(); common::egw_exit(); }