From 2dac72f0da67aef14314a2bb935a7e8efcebe987 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 23 Apr 2012 12:01:37 +0000 Subject: [PATCH] Schdule was only save new entries, not existing ones which got updated (only if you edit rights), same for ical export --- infolog/inc/class.infolog_ui.inc.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/infolog/inc/class.infolog_ui.inc.php b/infolog/inc/class.infolog_ui.inc.php index eb0d9e04bd..155bc33a67 100644 --- a/infolog/inc/class.infolog_ui.inc.php +++ b/infolog/inc/class.infolog_ui.inc.php @@ -1509,10 +1509,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') {