* Finish task #8387.

This commit is contained in:
holan20180123
2020-11-17 15:25:16 +08:00
parent f1423214eb
commit 4943ce7bbe
30 changed files with 36 additions and 36 deletions
+2 -2
View File
@@ -402,7 +402,7 @@ class testtask extends control
setcookie('preTaskID', $taskID, $this->config->cookieLife, $this->config->webRoot, '', false, true);
/* Determines whether an object is editable. */
$canBeChanged = common::checkObjectChangeAllowed('testtask', $task);
$canBeChanged = common::canBeChanged('testtask', $task);
if($this->cookie->preTaskID != $taskID)
{
@@ -553,7 +553,7 @@ class testtask extends control
$this->testtask->setMenu($this->products, $productID, $task->branch, $taskID);
/* Determines whether an object is editable. */
$canBeChanged = common::checkObjectChangeAllowed('testtask', $task);
$canBeChanged = common::canBeChanged('testtask', $task);
$runs = $this->testtask->getRuns($taskID, 0, $groupBy);
$this->loadModel('common')->saveQueryCondition($this->dao->get(), 'testcase', false);