|
|
@ -66,7 +66,7 @@ function user_myshifts() {
|
|
|
|
if ($result === false)
|
|
|
|
if ($result === false)
|
|
|
|
engelsystem_error('Unable to update shift entr.');
|
|
|
|
engelsystem_error('Unable to update shift entr.');
|
|
|
|
|
|
|
|
|
|
|
|
engelsystem_log("Updated " . User_Nick_render($user_source) . "'s shift " . $shift['name'] . " from " . date("y-m-d H:i", $shift['start']) . " to " . date("y-m-d H:i", $shift['end']) . " with comment " . $comment);
|
|
|
|
engelsystem_log("Updated " . User_Nick_render($user_source) . "'s shift " . $shift['name'] . " from " . date("y-m-d H:i", $shift['start']) . " to " . date("y-m-d H:i", $shift['end']) . " with comment " . $comment . ". Freeloaded: " . ($freeloaded ? "YES Comment: " . $freeload_comment : "NO"));
|
|
|
|
success(_("Shift saved."));
|
|
|
|
success(_("Shift saved."));
|
|
|
|
redirect(page_link_to('users') . '&action=view&user_id=' . $shifts_user['UID']);
|
|
|
|
redirect(page_link_to('users') . '&action=view&user_id=' . $shifts_user['UID']);
|
|
|
|
}
|
|
|
|
}
|
|
|
|