* Fix bug#31595

This commit is contained in:
zenggang
2023-01-29 01:21:53 +00:00
parent f019ae8119
commit c29d86fda5
+6 -1
View File
@@ -357,7 +357,12 @@ js::set('vision', $this->config->vision);
<?php foreach($stories as $story):?>
<tr data-id='<?php echo $story->id?>' data-estimate='<?php echo $story->estimate?>' <?php if(!empty($story->children)) echo "data-children=" . count($story->children);?> data-cases='<?php echo zget($storyCases, $story->id, 0);?>'>
<?php $story->from = $from;?>
<?php if(!empty($branchOptions) and isset($branchOptions[$story->product])) $branchOption = $branchOptions[$story->product];?>
<?php
if(!empty($branchOptions))
{
$branchOption = isset($branchOptions[$story->product]) ? $branchOptions[$story->product] : array();
}
?>
<?php if($this->app->getViewType() == 'xhtml'):?>
<?php
foreach($setting as $key => $value)