Merge branch 'bugfix/HOR-3548' of bitbucket.org:colosa/processmaker into bugfix/HOR-3548

This commit is contained in:
Marco A. Nina Mena
2017-08-10 14:41:34 -04:00

View File

@@ -828,7 +828,7 @@ class Calendar extends CalendarDefinition
$newDate = $onlyDate;
$hoursDuration -= (float)($secondRes/3600);
} else {
$newDate = date('Y-m-d H:i:s', strtotime('+' . round((((float)$hoursDuration)*3600), 5) . ' seconds', strtotime($newDate)));
$newDate = date('Y-m-d H:i:s', strtotime('+' . (((float)$hoursDuration)*3600) . ' seconds', strtotime($newDate)));
$hoursDuration = 0;
}
}