fix wrong user shift edit link

This commit is contained in:
Philip Häusler 2015-08-13 09:13:13 +02:00
parent 2823c0e438
commit 5742306095
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ function Shift_view($shift, $shifttype, $room, $shift_admin, $angeltypes_source,
$entry = '<strike>' . $entry . '</strike>';
if ($user_shift_admin) {
$entry .= ' <div class="btn-group">';
$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 .= '</div>';
}