From ee1aa1ed22967a1ceb1c62bbf16603842e0e4790 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Fri, 7 May 2010 20:08:42 -0400 Subject: [PATCH] Exceptions could have different tags also --- kronolith/lib/Event.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/kronolith/lib/Event.php b/kronolith/lib/Event.php index 24db9b902..aaf3f32d2 100644 --- a/kronolith/lib/Event.php +++ b/kronolith/lib/Event.php @@ -1155,7 +1155,7 @@ abstract class Kronolith_Event /* Exceptions are tricky. Exceptions, even those are that represent * deleted instances of a recurring event, must be added. To do this - * we need query storage for all the events that represent exceptions + * we query the storage for all the events that represent exceptions * (those with the baseid == $this->uid) and then remove the * exceptionoriginaldate from the list of exceptions we know about. * Any dates left in this list when we are done, must represent @@ -1207,6 +1207,10 @@ abstract class Kronolith_Event } $e->setResponseType($status); + /* Tags/Categories */ + foreach ($exception->tags as $tag) { + $e->addCategory(Horde_String::convertCharset($tag, $charset, 'utf-8')); + } $message->addexception($e); } -- 2.11.0