Merge branch 'master_xieqiyu_fixbug' into 'master'

* Fix bug.

See merge request easycorp/zentaopms!5233
This commit is contained in:
王怡栋
2022-09-01 05:42:36 +00:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -80,7 +80,7 @@
<?php echo strpos('draft,changing', $story->status) !== false ? html::textarea('spec', htmlSpecialString($story->spec), "rows='5' class='form-control'") : $story->spec;?>
</div>
</div>
<?php $showFile = strpos('draft,changing', $story->status) === false and empty($files) ? false : true;?>
<?php $showFile = (strpos('draft,changing', $story->status) === false and empty($files)) ? false : true;?>
<?php if($showFile):?>
<div class='detail'>
<div class='detail-title'><?php echo $lang->attatch;?></div>
+1 -1
View File
@@ -85,7 +85,7 @@
<?php echo strpos('draft,changing', $story->status) !== false ? html::textarea('verify', htmlSpecialString($story->verify), "rows='5' class='form-control'") : $story->verify;?>
</div>
</div>
<?php $showFile = strpos('draft,changing', $story->status) === false and empty($files) ? false : true;?>
<?php $showFile = (strpos('draft,changing', $story->status) === false and empty($files)) ? false : true;?>
<?php if($showFile):?>
<div class='detail'>
<div class='detail-title'><?php echo $lang->attatch;?></div>