From fe086b752b2255ed45fe870210e85925f63154c6 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 3 May 2011 19:43:51 +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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/json.php b/json.php index b736b09785..2a476a508d 100644 --- a/json.php +++ b/json.php @@ -85,7 +85,7 @@ if (isset($_GET['menuaction'])) ); //if ($_GET['menuaction'] !='notifications.notifications_ajax.get_notifications') error_log(__METHOD__.__LINE__.' Appname:'.$appName.' Action:'.print_r($_GET['menuaction'],true)); if ($_GET['menuaction']=='felamimail.ajaxfelamimail.refreshMessageList' || - $_GET['menuaction']=='felamimail.ajaxfelamimail.refreshFolderList') + $_GET['menuaction']=='felamimail.ajaxfelamimail.refreshFolderList') { $GLOBALS['egw_info']['flags']['no_dla_update']=true; } @@ -101,6 +101,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(); }