diff --git a/infolog/inc/class.infolog_bo.inc.php b/infolog/inc/class.infolog_bo.inc.php index 9f2f69358d..d071c3940f 100644 --- a/infolog/inc/class.infolog_bo.inc.php +++ b/infolog/inc/class.infolog_bo.inc.php @@ -575,10 +575,11 @@ class infolog_bo * @param boolean $check_defaults=true check and set certain defaults * @param boolean $touch_modified=true touch the modification data and sets the modiefier's user-id * @param boolean $user2server=true conversion between user- and server-time necessary + * @param boolean $skip_notification=false true = do NOT send notification, false (default) = send notifications * * @return int/boolean info_id on a successfull write or false */ - function write(&$values, $check_defaults=true, $touch_modified=true, $user2server=true) + function write(&$values, $check_defaults=true, $touch_modified=true, $user2server=true, $skip_notification=false) { //echo "boinfolog::write()values="; _debug_array($values); if (!$values['info_id'] && !$this->check_access(0,EGW_ACL_EDIT,$values['info_owner']) && @@ -816,7 +817,8 @@ class infolog_bo $values = array_merge($values,$missing_fields); $to_write = array_merge($to_write,$missing_fields); } - $this->tracking->track($to_write,$old,$this->user,$values['info_status'] == 'deleted' || $old['info_status'] == 'deleted'); + $this->tracking->track($to_write,$old,$this->user,$values['info_status'] == 'deleted' || $old['info_status'] == 'deleted', + null,$skip_notification); } if ($info_from_set) $values['info_from'] = ''; diff --git a/infolog/inc/class.infolog_ui.inc.php b/infolog/inc/class.infolog_ui.inc.php index 2edac8cc26..0e3ff75b4b 100644 --- a/infolog/inc/class.infolog_ui.inc.php +++ b/infolog/inc/class.infolog_ui.inc.php @@ -892,7 +892,8 @@ class infolog_ui 'info_custom_from' => $content['info_custom_from'], ); //echo "

updating info_link_id: ".print_r($to_write,true)."

\n"; - $this->bo->write($to_write,False); + $this->bo->write($to_write,False,true,true,true); // last true = no notifications, as no real change + // we need eg. the new modification date, for further updates $content = array_merge($content,$to_write); }