diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2017-09-25 19:51:45 +0200 |
---|---|---|
committer | Igor Scheller <igor.scheller@igorshp.de> | 2017-09-25 20:25:00 +0200 |
commit | 48176588627133d7967310f007248b0701007214 (patch) | |
tree | 5cafa69095c59ce0fd1c8caee7789330389a4e7e /includes/model/Shifts_model.php | |
parent | 449e2cdd00632acff63bb75c5282c3aa2642b59f (diff) | |
parent | eeae07e625890cee9a3cb90ee87e07530b7bf192 (diff) |
Merge branch 'noc0lour:fix_setup_bugs', closes #335
Diffstat (limited to 'includes/model/Shifts_model.php')
-rw-r--r-- | includes/model/Shifts_model.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/includes/model/Shifts_model.php b/includes/model/Shifts_model.php index 03f8341f..ef02aaab 100644 --- a/includes/model/Shifts_model.php +++ b/includes/model/Shifts_model.php @@ -481,9 +481,10 @@ function Shift_create($shift) `URL`, `PSID`, `created_by_user_id`, + `edited_at_timestamp`, `created_at_timestamp` ) - VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) + VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ', [ $shift['shifttype_id'], @@ -495,6 +496,7 @@ function Shift_create($shift) $shift['PSID'], $user['UID'], time(), + time(), ] ); |