summaryrefslogtreecommitdiff
path: root/includes/controller
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2019-09-07 00:41:48 +0200
committerIgor Scheller <igor.scheller@igorshp.de>2019-09-18 04:27:56 +0200
commitd71b27b78b29a2ed725a6e631bf8085bde257f18 (patch)
treebfb480bfdaa7369e51973bda31f75b3adfe45b99 /includes/controller
parent64c4743f57c2444a2e40ab4f115cbc6bdc9bcde1 (diff)
Shifts: Save time as worklog if past shift gets deleted
Diffstat (limited to 'includes/controller')
-rw-r--r--includes/controller/shifts_controller.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/controller/shifts_controller.php b/includes/controller/shifts_controller.php
index caf124ba..a4d44151 100644
--- a/includes/controller/shifts_controller.php
+++ b/includes/controller/shifts_controller.php
@@ -220,6 +220,7 @@ function shift_delete_controller()
// Schicht löschen bestätigt
if ($request->hasPostData('delete')) {
+ UserWorkLog_from_shift($shift_id);
Shift_delete($shift_id);
engelsystem_log(