projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b71a58d
)
Fix categories to tags.
author
Jan Schneider
<jan@horde.org>
Thu, 26 Feb 2009 11:07:22 +0000
(12:07 +0100)
committer
Jan Schneider
<jan@horde.org>
Thu, 26 Feb 2009 11:07:22 +0000
(12:07 +0100)
kronolith/lib/Driver.php
patch
|
blob
|
history
diff --git
a/kronolith/lib/Driver.php
b/kronolith/lib/Driver.php
index
c9988a2
..
fc74b2b
100644
(file)
--- 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;
}