fix wrong redirect after shift edit

This commit is contained in:
Philip Häusler 2014-12-26 01:26:17 +01:00
parent e89acc0c1d
commit 33bafad9b7
1 changed files with 4 additions and 1 deletions

View File

@ -149,7 +149,10 @@ function user_shifts() {
engelsystem_log("Updated shift '" . $name . "' from " . date("y-m-d H:i", $start) . " to " . date("y-m-d H:i", $end) . " with angel types " . join(", ", $needed_angel_types_info)); engelsystem_log("Updated shift '" . $name . "' from " . date("y-m-d H:i", $start) . " to " . date("y-m-d H:i", $end) . " with angel types " . join(", ", $needed_angel_types_info));
success(_("Shift updated.")); success(_("Shift updated."));
redirect(shift_link($shift_id));
redirect(shift_link([
'SID' => $shift_id
]));
} }
} }