Merge branch 'sprint/fixbug_hufangzhou_19716' into 'master'

* Fix bug #19716.

See merge request easycorp/zentaopms!3034
This commit is contained in:
孙广明
2022-04-20 07:36:43 +00:00
2 changed files with 0 additions and 5 deletions
-3
View File
@@ -1132,8 +1132,6 @@ class story extends control
$reviewers = $this->story->getReviewerPairs($storyID, $story->version);
$reviewedBy = trim($story->reviewedBy, ',');
$superReviewers = trim(zget($this->config->story, 'superReviewers', ''), ',');
$checkSuperReviewed = empty($reviewedBy) ? false : strpos(",$superReviewers,", ",$reviewedBy,");
$this->executeHooks($storyID);
@@ -1165,7 +1163,6 @@ class story extends control
$this->view->preAndNext = $this->loadModel('common')->getPreAndNextObject('story', $storyID);
$this->view->from = $from;
$this->view->param = $param;
$this->view->checkSuperReviewed = $checkSuperReviewed !== false ? true : false;
$this->display();
}
-2
View File
@@ -395,7 +395,6 @@
<th><?php echo $lang->story->assignedTo;?></th>
<td><?php if($story->assignedTo) echo zget($users, $story->assignedTo) . $lang->at . $story->assignedDate;?></td>
</tr>
<?php if(!$checkSuperReviewed):?>
<tr>
<th><?php echo $lang->story->reviewers;?></th>
<td>
@@ -410,7 +409,6 @@
?>
</td>
</tr>
<?php endif;?>
<tr>
<th><?php echo $lang->story->reviewedDate;?></th>
<td><?php if($story->reviewedBy) echo $story->reviewedDate;?></td>