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:02:02 +00:00
parent 4d1d6bb220
commit 7f7bf5f47d

View File

@ -1505,10 +1505,13 @@ class infolog_ui
if ($button)
{
// Copy or schedule Infolog
if (in_array($button,array('copy','schedule')))
if (in_array($button,array('copy','schedule','ical')))
{
$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')
{