restore ical export

This commit is contained in:
msquare 2016-10-03 19:37:00 +02:00
parent f3a0ce865d
commit 51d270db28
2 changed files with 4 additions and 2 deletions

View File

@ -352,6 +352,8 @@ function view_user_shifts() {
$shifts_table .= '<td rowspan="' . $blocks . '" class="' . $class . '">'; $shifts_table .= '<td rowspan="' . $blocks . '" class="' . $class . '">';
$shifts_table .= $shifts_row; $shifts_table .= $shifts_row;
$shifts_table .= "</td>"; $shifts_table .= "</td>";
// also output that shift on ical export
$ical_shifts[] = $shift;
for ($j = 0; $j < $blocks && $i + $j < $maxshow; $j ++) { for ($j = 0; $j < $blocks && $i + $j < $maxshow; $j ++) {
$todo[$rid][$i + $j] --; $todo[$rid][$i + $j] --;
} }