forked from extern/egroupware
Add a 'No notifications' checkbox to infolog edit dialog to avoid sending notifications
This commit is contained in:
parent
69922af6ec
commit
d00b629269
@ -913,7 +913,7 @@ class infolog_ui
|
|||||||
$content['info_link_id'] = 0; // as field has to be int
|
$content['info_link_id'] = 0; // as field has to be int
|
||||||
}
|
}
|
||||||
$active_tab = $content[$tabs];
|
$active_tab = $content[$tabs];
|
||||||
if (!($info_id = $this->bo->write($content)))
|
if (!($info_id = $this->bo->write($content, true, true, true, $content['no_notifications'])))
|
||||||
{
|
{
|
||||||
$content['msg'] = $info_id !== 0 || !$content['info_id'] ? lang('Error: saving the entry') :
|
$content['msg'] = $info_id !== 0 || !$content['info_id'] ? lang('Error: saving the entry') :
|
||||||
lang('Error: the entry has been updated since you opened it for editing!').'<br />'.
|
lang('Error: the entry has been updated since you opened it for editing!').'<br />'.
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user