MFB: Modifying start date of recurring events does not update start date of the recur...
authorGunnar Wrobel <wrobel@temple.(none)>
Mon, 8 Mar 2010 17:24:41 +0000 (18:24 +0100)
committerGunnar Wrobel <wrobel@temple.(none)>
Mon, 8 Mar 2010 17:24:41 +0000 (18:24 +0100)
kronolith/lib/Event.php

index 116a46e..df096ad 100644 (file)
@@ -1799,6 +1799,8 @@ abstract class Kronolith_Event
         if ($recur !== null && $recur !== '') {
             if (!isset($this->recurrence)) {
                 $this->recurrence = new Horde_Date_Recurrence($this->start);
+            } else {
+                $this->recurrence->setRecurStart($this->start);
             }
             if (Horde_Util::getFormData('recur_end_type') == 'date') {
                 if ($end_date = Horde_Util::getFormData('recur_end_date')) {