summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-12-12 15:26:28 +0100
committerJoas Schilling <coding@schilljs.com>2016-12-12 15:26:28 +0100
commit89ba394c891012bbd061b3bf8bb3509a34e0aad3 (patch)
tree1db934fa22d4d4a51e97f44b03384ad709727d9b /apps/dav/lib
parentf46e02210e29a046aab8c3911d8a168857914375 (diff)
downloadnextcloud-server-89ba394c891012bbd061b3bf8bb3509a34e0aad3.tar.gz
nextcloud-server-89ba394c891012bbd061b3bf8bb3509a34e0aad3.zip
Fix the Todos filter
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/dav/lib')
-rw-r--r--apps/dav/lib/CalDAV/Activity/Filter/Todo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/CalDAV/Activity/Filter/Todo.php b/apps/dav/lib/CalDAV/Activity/Filter/Todo.php
index 42ee0740851..312bb6c472d 100644
--- a/apps/dav/lib/CalDAV/Activity/Filter/Todo.php
+++ b/apps/dav/lib/CalDAV/Activity/Filter/Todo.php
@@ -79,7 +79,7 @@ class Todo implements IFilter {
* @since 11.0.0
*/
public function filterTypes(array $types) {
- return array_intersect(['calendar_todo'], $types);
+ return array_intersect(['calendar_todos'], $types);
}
/**