From: Michael J. Rubinsky Date: Sat, 8 May 2010 00:08:42 +0000 (-0400) Subject: Exceptions could have different tags also X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=ee1aa1ed22967a1ceb1c62bbf16603842e0e4790;p=horde.git Exceptions could have different tags also --- 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); }