Schdule was only save new entries, not existing ones which got updated (only if you edit rights), same for ical export

This commit is contained in:
Ralf Becker 2012-04-23 12:01:37 +00:00
parent 1e4c845aab
commit 2dac72f0da

View File

@ -1509,10 +1509,13 @@ class infolog_ui
if ($button) if ($button)
{ {
// Copy or schedule Infolog // Copy or schedule Infolog
if (in_array($button,array('copy','schedule'))) if (in_array($button,array('copy','schedule','ical')))
{ {
$action = $button; $action = $button;
if (!$info_id) $button = 'apply'; // need to store infolog first if (!$info_id || $this->bo->check_access($info_id,EGW_ACL_EDIT))
{
$button = 'apply'; // need to store infolog first
}
} }
if ($button == 'print') if ($button == 'print')
{ {