diff --git a/includes/view/Shifts_view.php b/includes/view/Shifts_view.php index e6f400db..9586cf90 100644 --- a/includes/view/Shifts_view.php +++ b/includes/view/Shifts_view.php @@ -46,7 +46,7 @@ function Shift_view($shift, $shifttype, $room, $shift_admin, $angeltypes_source, $entry = '' . $entry . ''; if ($user_shift_admin) { $entry .= '
'; - $entry .= button_glyph(page_link_to('user_myshifts') . '&edit=' . $shift['SID'] . '&id=' . $shift_entry['UID'], 'pencil', 'btn-xs'); + $entry .= button_glyph(page_link_to('user_myshifts') . '&edit=' . $shift_entry['id'] . '&id=' . $shift_entry['UID'], 'pencil', 'btn-xs'); $entry .= button_glyph(page_link_to('user_shifts') . '&entry_id=' . $shift_entry['id'], 'trash', 'btn-xs'); $entry .= '
'; }