Skip to content
Snippets Groups Projects
Commit edc9a150 authored by Georg Ehrke's avatar Georg Ehrke
Browse files

fix editeventdialog for monthly repeating events with a specific weekday and weeknumber combination

parent d3a0c735
Branches
No related tags found
No related merge requests found
......@@ -78,11 +78,11 @@ if($data['repeating'] == 1){
foreach($byday_days as $byday_day){
if(strlen($byday_day) == 2){
$repeat['weekdays'][] = $byday_day;
}elseif(strlen($rrulearr['BYDAY']) == 3){
}elseif(strlen($byday_day) == 3){
$repeat['weekofmonth'] = substr($byday_day , 0, 1);
$repeat['weekdays'][] = substr($byday_day , 1, 2);
}elseif(strlen($rrulearr['BYDAY']) == 4){
$repeat['byweekno'] = substr($byday_day , 0, 2);
}elseif(strlen($byday_day) == 4){
$repeat['weekofmonth'] = substr($byday_day , 0, 2);
$repeat['weekdays'][] = substr($byday_day , 2, 2);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment