Merge remote branch 'upstream/master' into PM-2313
This commit is contained in:
@@ -414,7 +414,7 @@ class calendar extends CalendarDefinition
|
||||
$hoursDuration -= (float)($secondRes/3600);
|
||||
//$dataLog[] = (float)($secondRes/3600);
|
||||
} else {
|
||||
$newDate = date('Y-m-d H:i:s', strtotime('+' . (((float)$hoursDuration)*3600) . ' seconds', strtotime($newDate)));
|
||||
$newDate = date("Y-m-d H:i:s", strtotime("+" . round(((float)($hoursDuration)) * 3600) . " seconds", strtotime($newDate)));
|
||||
//$dataLog[] = (float)($hoursDuration);
|
||||
$hoursDuration = 0;
|
||||
}
|
||||
|
||||
@@ -1384,10 +1384,6 @@ class BpmnWorkflow extends Project\Bpmn
|
||||
|
||||
$activity = $bwp->getActivity($activityData["ACT_UID"]);
|
||||
|
||||
if ($activity["BOU_CONTAINER"] != $activityData["BOU_CONTAINER"]) {
|
||||
$activity = null;
|
||||
}
|
||||
|
||||
if ($forceInsert || is_null($activity)) {
|
||||
if ($generateUid) {
|
||||
//Generate and update UID
|
||||
|
||||
Reference in New Issue
Block a user