Allow to remove all attendees.
authorJan Schneider <jan@horde.org>
Thu, 18 Nov 2010 15:49:10 +0000 (16:49 +0100)
committerJan Schneider <jan@horde.org>
Thu, 18 Nov 2010 15:49:10 +0000 (16:49 +0100)
kronolith/lib/Event.php

index 0f5db1a..bb19b9a 100644 (file)
@@ -2098,9 +2098,7 @@ abstract class Kronolith_Event
         } else {
             $attendees = $session->get('kronolith', 'attendees', Horde_Session::TYPE_ARRAY);
         }
-        if ($attendees) {
-            $this->attendees = $attendees;
-        }
+        $this->attendees = $attendees;
 
         // Resources
         $this->_resources = $session->get('kronolith', 'resources', Horde_Session::TYPE_ARRAY);