* CalDAV/InfoLog: fix error when creating a task for a different user

This commit is contained in:
Ralf Becker 2016-07-15 09:25:44 +02:00
parent 6a57234f30
commit baf4de72d1

View File

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