* fix score and child task bug

This commit is contained in:
滔哥
2017-11-03 00:27:58 +08:00
parent 06861184a2
commit 0dc610f36b
31 changed files with 161 additions and 55 deletions
+2
View File
@@ -541,6 +541,7 @@ class bugModel extends model
if(!dao::isError())
{
if(!empty($bug->resolvedBy)) $this->loadModel('score')->create('bug', 'resolve', $bugID);
$this->file->updateObjectID($this->post->uid, $bugID, 'bug');
return common::createChanges($oldBug, $bug);
}
@@ -647,6 +648,7 @@ class bugModel extends model
if(!dao::isError())
{
if(!empty($bug->resolvedBy)) $this->loadModel('score')->create('bug', 'resolve', $bugID);
$allChanges[$bugID] = common::createChanges($oldBug, $bug);
}
else