Merge branch 'master_xieqiyu_26878' into 'master'

* Fix bug#26878.

See merge request easycorp/zentaopms!5123
This commit is contained in:
王怡栋
2022-08-26 01:21:00 +00:00
3 changed files with 32 additions and 3 deletions
+8 -1
View File
@@ -262,7 +262,14 @@
</tr>
<tr>
<th><?php echo $lang->bug->mailto;?></th>
<td><?php $mailto = explode(',', str_replace(' ', '', $bug->mailto)); foreach($mailto as $account) echo ' ' . zget($users, $account); ?></td>
<td>
<?php
if(empty($bug->mailto))
{
foreach(explode(',', str_replace(' ', '', $bug->mailto)) as $account) echo ' ' . zget($users, $account);
}
?>
</td>
</tr>
</tbody>
</table>