* Finish task #8378.

This commit is contained in:
holan20180123
2020-11-17 14:04:50 +08:00
parent 3def724cd5
commit bb34dfe79b
26 changed files with 62 additions and 62 deletions
+2 -2
View File
@@ -59,8 +59,8 @@ class testreport extends control
/* Determines whether an object is editable. */
$canBeChanged = true;
if($objectType == 'product' and !empty($this->config->global->closedProductStatus) and $object->status == 'closed') $canBeChanged = false;
if($objectType == 'project' and !empty($this->config->global->closedProjectStatus) and $object->status == 'closed') $canBeChanged = false;
if($objectType == 'product' and empty($this->config->CRProduct) and $object->status == 'closed') $canBeChanged = false;
if($objectType == 'project' and empty($this->config->CRProject) and $object->status == 'closed') $canBeChanged = false;
/* Load pager. */
$this->app->loadClass('pager', $static = true);