This commit is contained in:
tianshujie
2021-11-22 11:23:09 +08:00
parent 8b1d4b430d
commit a1c59d2ca0

View File

@@ -512,7 +512,7 @@ class bug extends control
}
else
{
$branches = (isset($product->type) and $product->type != 'normal') ? $this->loadModel('branch')->getPairs($productID, 'active') : array();
$branches = $productInfo->type != 'normal' ? $this->loadModel('branch')->getPairs($productID, 'active') : array();
}
/* Replace the value of bug that needs to be replaced with the value of the object that is transferred to bug. */