Merge branch 'sprint/fixbug_hufangzhou_19716' into 'master'
* Fix bug #19716. See merge request easycorp/zentaopms!3034
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user