This commit is contained in:
mayue
2022-04-24 09:31:14 +08:00
parent d484790e8a
commit 2ed8646488
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1595,7 +1595,7 @@ class testtaskModel extends model
if(empty($file))
{
dao::$errors[] = $this->lang->testtask->unitXMLFormat;
return print(js::error(dao::getError()));
die(js::error(dao::getError()));
}
$file = $file[0];
@@ -67,7 +67,7 @@
</tr>
<tr>
<th><?php echo $lang->testtask->resultFile;?></th>
<td><?php echo html::file('resultFile', "class='form-control'");?></td>
<td class='required'><?php echo html::file('resultFile', "class='form-control'");?></td>
<td><?php echo $lang->testtask->unitXMLFormat;?></td>
</tr>
<tr>