* Fix error in mr view.

This commit is contained in:
liyuchun
2022-01-26 10:49:57 +08:00
parent 708e5c909c
commit b6bf9f253d
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -164,7 +164,7 @@ class mrModel extends model
if(!empty($pipeline->queue))
{
$compile = $this->loadModel('compile')->getByQueue($pipeline->queue);
$MR->compileID = $compile->id;
$MR->compileID = $compile->id;
$MR->compileStatus = $compile->status;
}
}
+2 -2
View File
@@ -139,9 +139,9 @@
</tr>
<tr>
<th><?php echo $lang->compile->atTime;?></th>
<td><?php echo $compileJob ? $compileJob->lastExec : $lang->mr->compileUnexecuted;?></td>
<td><?php echo $compile->createdDate;?></td>
</tr>
<?php if($compileJob):?>
<?php if($compileJob and !empty($compileJob->id)):?>
<tr>
<th><?php echo $lang->compile->result;?></th>
<td>