fixed exception in notifications: "cannot send notifications. No sender supplied"

This commit is contained in:
Ralf Becker 2012-08-08 07:06:32 +00:00
parent 92a97ea4d9
commit ea18bc75b5

View File

@ -92,7 +92,7 @@ class notifications_ajax {
{
$this->response = new xajaxResponse();
}
$this->recipient = (object)$GLOBALS['egw']->accounts->read();
$this->recipient = (object)$GLOBALS['egw']->accounts->read($GLOBALS['egw_info']['user']['account_id']);
$this->config = (object)config::read(self::_appname);