summaryrefslogtreecommitdiff
path: root/includes/pages/user_shifts.php
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2014-11-03 16:17:37 +0100
committermsquare <msquare@notrademark.de>2014-11-03 16:17:37 +0100
commitb221b362dc25fcc9686c068b2b5976e157014686 (patch)
tree5c0e46d1a3e157e822d5121810af548431cf4dc8 /includes/pages/user_shifts.php
parent785fd45d3a59fa093caebf3befef6ac057bb0d2f (diff)
parent4edaa2691104470a95c14b5c6e6d2ea64f8d5b91 (diff)
Merge pull request #156 from robofish/editUrlFix
Fixed shift edit/delete URLs in new layout
Diffstat (limited to 'includes/pages/user_shifts.php')
-rw-r--r--includes/pages/user_shifts.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/pages/user_shifts.php b/includes/pages/user_shifts.php
index 04a94c3f..b9a55f5a 100644
--- a/includes/pages/user_shifts.php
+++ b/includes/pages/user_shifts.php
@@ -503,8 +503,8 @@ function view_user_shifts() {
$shifts_row = $shift['name'];
if (in_array('admin_shifts', $privileges))
$shifts_row .= ' ' . table_buttons(array(
- button(page_link_to('user_shift') . '&edit_shift=' . $shift['SID'], glyph('edit'), 'btn-xs'),
- button(page_link_to('user_shift') . '&delete_shift=' . $shift['SID'], glyph('trash'), 'btn-xs')
+ button(page_link_to('user_shifts') . '&edit_shift=' . $shift['SID'], glyph('edit'), 'btn-xs'),
+ button(page_link_to('user_shifts') . '&delete_shift=' . $shift['SID'], glyph('trash'), 'btn-xs')
));
$shifts_row .= '<br />';
$query = "SELECT `NeededAngelTypes`.`count`, `AngelTypes`.`id`, `AngelTypes`.`restricted`, `UserAngelTypes`.`confirm_user_id`, `AngelTypes`.`name`, `UserAngelTypes`.`user_id`