From 4edaa2691104470a95c14b5c6e6d2ea64f8d5b91 Mon Sep 17 00:00:00 2001 From: Robert Oehlmann Date: Mon, 3 Nov 2014 08:51:23 +0100 Subject: [PATCH] Fixed shift edit/delete URLs in new layout --- includes/pages/user_shifts.php | 4 ++-- 1 file 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 .= '
'; $query = "SELECT `NeededAngelTypes`.`count`, `AngelTypes`.`id`, `AngelTypes`.`restricted`, `UserAngelTypes`.`confirm_user_id`, `AngelTypes`.`name`, `UserAngelTypes`.`user_id`