* Fix create build error.

This commit is contained in:
holan20180123
2021-03-25 11:20:50 +08:00
parent a75bafa59a
commit 92986ae8ea
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -29,7 +29,7 @@
<th><?php echo $lang->build->product;?></th>
<?php if(!empty($products)):?>
<td>
<div class='input-group'>
<div class='input-group' id='productBox'>
<?php echo html::select('product', $products, empty($product) ? '' : $product->id, "onchange='loadBranches(this.value);' class='form-control chosen' required");?>
<?php
if(!empty($product) and $product->type != 'normal' and isset($branches[$product->branch]))