diff options
author | msquare <msquare@notrademark.de> | 2014-11-04 11:06:01 +0100 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2014-11-04 11:06:01 +0100 |
commit | d2e5cce3730fdcec62b5bf5e3f2c979ed04598b9 (patch) | |
tree | 3cfd666b68e46588aaa89986cbc57af13f29948e /includes | |
parent | 428d5d70cbf3cf643348def33c7d53f68ffcea6b (diff) | |
parent | a42ba2f5a1c286d9218b4c3f56a48da317156f89 (diff) |
Merge pull request #158 from robofish/shiftEntryFormFix
Fixed shift entry form
Diffstat (limited to 'includes')
-rw-r--r-- | includes/pages/user_shifts.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/pages/user_shifts.php b/includes/pages/user_shifts.php index b9a55f5a..ad7430f0 100644 --- a/includes/pages/user_shifts.php +++ b/includes/pages/user_shifts.php @@ -280,7 +280,7 @@ function user_shifts() { $angeltyppe_select = $type['name']; } - return ShiftEntry_edit_view(date("Y-m-d H:i", $shift['start']) . ' – ' . date('Y-m-d H:i', $shift['end']) . ' (' . shift_length($shift) . ')', $shift['name'], $shift['Name'], $user_text, $angeltyppe_select, "", false, null, in_array('user_shifts_admin', $privileges)); + return ShiftEntry_edit_view($user_text, date("Y-m-d H:i", $shift['start']) . ' – ' . date('Y-m-d H:i', $shift['end']) . ' (' . shift_length($shift) . ')', $shift['Name'], $shift['name'], $angeltyppe_select, "", false, null, in_array('user_shifts_admin', $privileges)); } else { return view_user_shifts(); } |