From: Jan Schneider Date: Thu, 26 Feb 2009 11:07:22 +0000 (+0100) Subject: Fix categories to tags. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=41872c015ac7c75dd21eb9686a9ef7b16170a0d9;p=horde.git Fix categories to tags. --- 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; }