summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorRobert Oehlmann <waterfish33@gmail.com>2014-11-03 08:51:23 +0100
committerRobert Oehlmann <waterfish33@gmail.com>2014-11-03 08:51:23 +0100
commit4edaa2691104470a95c14b5c6e6d2ea64f8d5b91 (patch)
tree5c0e46d1a3e157e822d5121810af548431cf4dc8 /includes
parent785fd45d3a59fa093caebf3befef6ac057bb0d2f (diff)
Fixed shift edit/delete URLs in new layout
Diffstat (limited to 'includes')
-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`