diff options
author | Kevin Jardine <kevinjardine@yahoo.com> | 2012-10-06 08:55:10 +0200 |
---|---|---|
committer | Kevin Jardine <kevinjardine@yahoo.com> | 2012-10-06 08:55:10 +0200 |
commit | e858bc7203426e6782b99a627bbfa1668e9d590d (patch) | |
tree | fc07aed1ae1ce5f7fd298aed5e878521f4dddf28 /models | |
parent | b8e251041130fe0c26c9a7f0357b7317fae0bde4 (diff) | |
download | elgg-e858bc7203426e6782b99a627bbfa1668e9d590d.tar.gz elgg-e858bc7203426e6782b99a627bbfa1668e9d590d.tar.bz2 |
fixed problem with multiple repeating events
Diffstat (limited to 'models')
-rw-r--r-- | models/model.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/model.php b/models/model.php index 05378217e..6646442e8 100644 --- a/models/model.php +++ b/models/model.php @@ -293,8 +293,8 @@ function event_calendar_get_repeating_event_structure($events, $start_date, $end $dow = array('monday','tuesday','wednesday','thursday','friday','saturday','sunday'); $repeating_events = array(); if ($events) { - $incs = array(); foreach($events as $e) { + $incs = array(); $repeat_data = array(); $day_num = date('N',$e->start_date)-1; for($d=0;$d<7;$d++) { |