* fix bug for copy task.

This commit is contained in:
z
2020-09-08 13:23:22 +08:00
parent 3d26495605
commit f4bdb1e553
+1 -1
View File
@@ -197,7 +197,7 @@
<th><?php echo $lang->task->desc;?></th>
<td colspan='3'>
<?php echo $this->fetch('user', 'ajaxPrintTemplates', 'type=task&link=desc');?>
<?php echo html::textarea('desc', $task->desc, "rows='10' class='form-control'");?>
<?php echo html::textarea('desc', htmlspecialchars($task->desc), "rows='10' class='form-control'");?>
</td>
</tr>
<tr>