* [bug#64968,doing,0.1h] format hours for batch to task.
This commit is contained in:
@@ -2108,6 +2108,8 @@ class storyModel extends model
|
||||
$taskIdList = array();
|
||||
foreach($tasks as $task)
|
||||
{
|
||||
if(isset($task->estimate)) $task->estimate = round((float)$task->estimate, 2);
|
||||
if(isset($task->left)) $task->left = round((float)$task->left, 2);
|
||||
$this->dao->insert(TABLE_TASK)->data($task)->autoCheck()
|
||||
->batchCheck($this->config->task->create->requiredFields, 'notempty')
|
||||
->exec();
|
||||
|
||||
Reference in New Issue
Block a user