summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2015-08-13 09:13:13 +0200
committerPhilip Häusler <msquare@notrademark.de>2015-08-13 09:13:13 +0200
commit5742306095b742bdc2d574968d6ee0c4c7c876ec (patch)
tree35c1d71df941cd2e75504404155792b2793f0575 /includes
parent2823c0e438e73f97bb8ba22e806192e48f06dcc5 (diff)
fix wrong user shift edit link
Diffstat (limited to 'includes')
-rw-r--r--includes/view/Shifts_view.php2
1 files changed, 1 insertions, 1 deletions
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 = '<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>';
}