Add a 'No notifications' checkbox to infolog edit dialog to avoid sending notifications

This commit is contained in:
Nathan Gray 2010-10-08 17:48:36 +00:00
parent 69922af6ec
commit d00b629269
2 changed files with 4 additions and 4 deletions

View File

@ -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