Merge branch 'master_xieqiyu_fixbug' into 'master'
* Fix bug. See merge request easycorp/zentaopms!5233
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user