Merge branch 'sprint/zentaopms262_mayue_bug#28841' into 'master'

* Fix bug #28841.

See merge request easycorp/zentaopms!6208
This commit is contained in:
王怡栋
2022-11-17 02:02:55 +00:00
-20
View File
@@ -204,26 +204,6 @@
<?php echo html::hidden('status', $story->status);?>
</td>
</tr>
<?php if(strpos('draft,changing', $story->status) !== false and $story->type == 'story'):?>
<tr>
<th><?php echo $lang->story->stage;?></th>
<td>
<?php
if($story->stages and $branchTagOption)
{
foreach($story->stages as $branch => $stage)
{
if(isset($branchTagOption[$branch])) echo '<p>' . $branchTagOption[$branch] . html::select("stages[$branch]", $lang->story->stageList, $stage, "class='form-control chosen'") . '</p>';
}
}
else
{
echo html::select('stage', $lang->story->stageList, $story->stage, "class='form-control chosen'");
}
?>
</td>
</tr>
<?php endif;?>
<tr>
<th><?php echo $lang->story->category;?></th>
<td><?php echo html::select('category', $lang->story->categoryList, $story->category, "class='form-control chosen'");?></td>