]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix the Todos filter 2625/head
authorJoas Schilling <coding@schilljs.com>
Mon, 12 Dec 2016 14:26:28 +0000 (15:26 +0100)
committerJoas Schilling <coding@schilljs.com>
Mon, 12 Dec 2016 14:26:28 +0000 (15:26 +0100)
Signed-off-by: Joas Schilling <coding@schilljs.com>
apps/dav/lib/CalDAV/Activity/Filter/Todo.php

index 42ee07408513ccbfe7640e7250fa097a136e67e2..312bb6c472d84de23b51eeabab579fa93b5c71ef 100644 (file)
@@ -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);
        }
 
        /**