forked from extern/egroupware
* CalDAV/InfoLog: fix error when creating a task for a different user
This commit is contained in:
parent
6a57234f30
commit
baf4de72d1
@ -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))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user