From baf4de72d16af945320b11e322e89ead08a66ef9 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 15 Jul 2016 09:25:44 +0200 Subject: [PATCH] * CalDAV/InfoLog: fix error when creating a task for a different user --- infolog/inc/class.infolog_ical.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infolog/inc/class.infolog_ical.inc.php b/infolog/inc/class.infolog_ical.inc.php index a5acee1fb0..d9460ac817 100644 --- a/infolog/inc/class.infolog_ical.inc.php +++ b/infolog/inc/class.infolog_ical.inc.php @@ -542,7 +542,7 @@ class infolog_ical extends infolog_bo } // setting owner or responsible for new tasks based on folder - if (!is_null($user) && $_taskID == -1) + if (!is_null($user) && $_taskID <= 0) { if ($this->check_access($taskData, Acl::ADD)) {