changed some workflowitems to update every termination in building

This commit is contained in:
Frank Schubert
2021-11-06 14:12:55 +01:00
parent 5935571887
commit 9c84e82d3c
6 changed files with 171 additions and 65 deletions

View File

@@ -27,6 +27,13 @@ class WorkflowvalueModel {
$me = new User();
$me->loadMe();
if($model->changed === null) {
$model->changed = date('U');
}
if($model->changed_by === null) {
$model->changed_by = $me->id;
}
if($model->create_by === null) {
$model->create_by = $me->id;
}