@@ -1736,7 +1736,7 @@ class PluginProcessmakerProcessmaker extends CommonDBTM {
|
|||||||
$input['end'] = $options['end_date']->format("Y-m-d H:i:s");
|
$input['end'] = $options['end_date']->format("Y-m-d H:i:s");
|
||||||
$input['plan']['begin'] = $input['begin'];
|
$input['plan']['begin'] = $input['begin'];
|
||||||
$temp = $options['start_date']->diff( $options['end_date'] );
|
$temp = $options['start_date']->diff( $options['end_date'] );
|
||||||
$input['plan']['_duration'] = $temp->d * DAY_TIMESTAMP + $temp->h * HOUR_TIMESTAMP + $temp->i * MINUTE_TIMESTAMP + $temp->s;
|
$input['plan']['_duration'] = $temp->days * DAY_TIMESTAMP + $temp->h * HOUR_TIMESTAMP + $temp->i * MINUTE_TIMESTAMP + $temp->s;
|
||||||
if ($input['plan']['_duration'] == 0) {
|
if ($input['plan']['_duration'] == 0) {
|
||||||
$input['plan']['_duration'] = 60; // at least
|
$input['plan']['_duration'] = 60; // at least
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
<compatibility>9.4</compatibility>
|
<compatibility>9.4</compatibility>
|
||||||
</version>
|
</version>
|
||||||
<version>
|
<version>
|
||||||
<num>4.0.1</num>
|
<num>4.0.2</num>
|
||||||
<compatibility>9.5</compatibility>
|
<compatibility>9.5</compatibility>
|
||||||
</version>
|
</version>
|
||||||
</versions>
|
</versions>
|
||||||
|
|||||||
Reference in New Issue
Block a user