From bb35df1cc1bc8bcda8d59bd577f15f5b597162f8 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Thu, 30 Nov 2017 12:19:21 +0100 Subject: [PATCH] Fix Java desktop notifications, thanks to Stefan Werfling --- notifications/inc/class.notifications_jdesk_ajax.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notifications/inc/class.notifications_jdesk_ajax.inc.php b/notifications/inc/class.notifications_jdesk_ajax.inc.php index 9da20524d3..b28d904df5 100755 --- a/notifications/inc/class.notifications_jdesk_ajax.inc.php +++ b/notifications/inc/class.notifications_jdesk_ajax.inc.php @@ -76,7 +76,7 @@ class notifications_jdesk_ajax { */ public function __construct() { - $this->response = new Api\Json\Response(); + $this->response = Api\Json\Response::get(); $this->recipient = (object)$GLOBALS['egw']->accounts->read($GLOBALS['egw_info']['user']['account_id']);