This commit is contained in:
tanghucheng
2023-08-16 09:08:06 +08:00
parent 321243c65a
commit dbf6520794
+1 -1
View File
@@ -1020,7 +1020,7 @@ class myModel extends model
public function getReviewingTypeList()
{
$typeList = array();
if($this->getReviewingDemands('id_desc', true)) $typeList[] = 'demand';
if($this->config->edition == 'ipd' and $this->getReviewingDemands('id_desc', true)) $typeList[] = 'demand';
if($this->getReviewingStories('id_desc', true)) $typeList[] = 'story';
if($this->getReviewingCases('id_desc', true)) $typeList[] = 'testcase';
if($this->getReviewingApprovals('id_desc', true)) $typeList[] = 'project';