Also load categories from VJOURNAL.

This commit is contained in:
Thomas Tanghus 2012-06-24 22:15:36 +02:00
parent 2a6a155e23
commit df1eca4fa2

View 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);