Enforce that exceptions are not recurring
authorMichael J. Rubinsky <mrubinsk@horde.org>
Sat, 8 May 2010 15:44:55 +0000 (11:44 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Sat, 8 May 2010 15:44:55 +0000 (11:44 -0400)
kronolith/lib/Event.php

index aaf3f32..f2bc69d 100644 (file)
@@ -1655,7 +1655,8 @@ abstract class Kronolith_Event
     public function recurs()
     {
         return isset($this->recurrence) &&
-            !$this->recurrence->hasRecurType(Horde_Date_Recurrence::RECUR_NONE);
+            !$this->recurrence->hasRecurType(Horde_Date_Recurrence::RECUR_NONE) &&
+            empty($this->baseid);
     }
 
     /**