* Finish task #8389.

This commit is contained in:
holan20180123
2020-11-17 16:11:06 +08:00
parent 4943ce7bbe
commit cb8dc1bc3b
8 changed files with 31 additions and 9 deletions
+4 -1
View File
@@ -58,7 +58,10 @@
</div>
</div>
<?php echo $this->fetch('file', 'printFiles', array('files' => $bug->files, 'fieldset' => 'true', 'object' => $bug));?>
<?php if(common::canBeChanged('bug', $bug)) $actionFormLink = $this->createLink('action', 'comment', "objectType=bug&objectID=$bug->id");?>
<?php
$canBeChanged = common::canBeChanged('bug', $bug);
if($canBeChanged) $actionFormLink = $this->createLink('action', 'comment', "objectType=bug&objectID=$bug->id");
?>
</div>
<?php $this->printExtendFields($bug, 'div', "position=left&inForm=0&inCell=1");?>
<div class='cell'><?php include '../../common/view/action.html.php';?></div>