]> source.dussan.org Git - nextcloud-server.git/commitdiff
Also load categories from VJOURNAL.
authorThomas Tanghus <thomas@tanghus.net>
Sun, 24 Jun 2012 20:15:36 +0000 (22:15 +0200)
committerThomas Tanghus <thomas@tanghus.net>
Sun, 24 Jun 2012 20:25:32 +0000 (22:25 +0200)
apps/calendar/lib/app.php

index 8e13b13b8a30a93e504d0a6ad8630019b50eb93f..344c89f36b0d6fa6853918b84237f2120b4a5f49 100644 (file)
@@ -194,6 +194,9 @@ class OC_Calendar_App{
                } else
                if (isset($calendar->VTODO)) {
                        $object = $calendar->VTODO;
+               } else
+               if (isset($calendar->VJOURNAL)) {
+                       $object = $calendar->VJOURNAL;
                }
                if ($object) {
                        self::getVCategories()->loadFromVObject($object, true);