From 41872c015ac7c75dd21eb9686a9ef7b16170a0d9 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Thu, 26 Feb 2009 12:07:22 +0100 Subject: [PATCH] Fix categories to tags. --- kronolith/lib/Driver.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/kronolith/lib/Driver.php b/kronolith/lib/Driver.php index c9988a2c5..fc74b2bee 100644 --- a/kronolith/lib/Driver.php +++ b/kronolith/lib/Driver.php @@ -853,10 +853,8 @@ class Kronolith_Event { } // Tags - $categories = $vEvent->getAttribute('CATEGORIES'); - if (!is_array($categories) && !is_a($categories, 'PEAR_Error')) { - // The CATEGORY attribute is delimited by commas, so the tagger - // can deal with it as-is. + $categories = $vEvent->getAttributeValues('CATEGORIES'); + if (!is_a($categories, 'PEAR_Error')) { $this->tags = $categories; } -- 2.11.0