* Finish task #9002.

This commit is contained in:
holan20180123
2021-01-15 10:46:33 +08:00
parent 01339a7345
commit 7b5ea8ebb8
3 changed files with 19 additions and 6 deletions
+7
View File
@@ -313,6 +313,13 @@ class bug extends control
$this->action->create('todo', $output['todoID'], 'finished', '', "BUG:$bugID");
}
/* If link from no head then reload*/
if(isonlybody())
{
$this->executeHooks($bugID);
$this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => 'parent'));
}
$this->executeHooks($bugID);
if(defined('RUN_MODE') && RUN_MODE == 'api') $this->send(array('status' => 'success', 'data' => $bugID));