* finish task #4807.

This commit is contained in:
wangyidong
2018-09-05 12:08:52 +08:00
parent 2f5e741284
commit 4a49230495
5 changed files with 14 additions and 18 deletions
+1 -2
View File
@@ -146,7 +146,6 @@ class taskModel extends model
$now = helper::now();
$mails = array();
$tasks = fixer::input('post')->get();
$batchNum = count(reset($tasks));
$storyIDs = array();
$taskNames = array();
@@ -187,7 +186,7 @@ class taskModel extends model
/* Get task data. */
$data = array();
for($i = 0; $i < $batchNum; $i++)
foreach($tasks->name as $i => $name)
{
$story = !isset($tasks->story[$i]) || $tasks->story[$i] == 'ditto' ? $story : $tasks->story[$i];
$module = !isset($tasks->module[$i]) || $tasks->module[$i] == 'ditto' ? $module : $tasks->module[$i];