summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2014-12-26 01:26:17 +0100
committerPhilip Häusler <msquare@notrademark.de>2014-12-26 01:26:17 +0100
commit33bafad9b7ffc7ec65779c6cf493dbcecf9ea4b3 (patch)
treeb0e2661eaf30239e28d9ecd6b6094dd9e870a8b5
parente89acc0c1d1188662da7490e3a75a4a5c3950a75 (diff)
fix wrong redirect after shift edit
-rw-r--r--includes/pages/user_shifts.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/includes/pages/user_shifts.php b/includes/pages/user_shifts.php
index 603ca993..ef73011d 100644
--- a/includes/pages/user_shifts.php
+++ b/includes/pages/user_shifts.php
@@ -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));
success(_("Shift updated."));
- redirect(shift_link($shift_id));
+
+ redirect(shift_link([
+ 'SID' => $shift_id
+ ]));
}
}