Fix recurrences when it has a recurInterval other than 1
authorMichael J. Rubinsky <mrubinsk@horde.org>
Fri, 2 Apr 2010 00:31:09 +0000 (20:31 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Fri, 2 Apr 2010 00:32:02 +0000 (20:32 -0400)
framework/ActiveSync/lib/Horde/ActiveSync/Message/Appointment.php

index 6b7ed5a..8baed98 100644 (file)
@@ -319,7 +319,9 @@ class Horde_ActiveSync_Message_Appointment extends Horde_ActiveSync_Message_Base
             $r->dayofweek = $recurrence->getRecurOnDays();
             break;
         }
-
+        if (!empty($recurrence->recurInterval)) {
+            $r->interval = $recurrence->recurInterval;
+        }
         $this->_properties['recurrence'] = $r;
     }