fixed egwpopup not writing to database

This commit is contained in:
Christian Binder 2009-10-09 19:03:35 +00:00
parent 6f780041fa
commit be0c204cfa

View File

@ -129,7 +129,7 @@ class notifications_popup implements notifications_iface {
*/
private function save( $_message, array $_user_sessions ) {
foreach ($_user_sessions as $user_session) {
$result =& $this->db->insert( self::_notification_table, array(
$result = $this->db->insert( self::_notification_table, array(
'account_id' => $this->recipient->account_id,
'session_id' => $user_session,
'message' => $_message