- Delete unused variable.

This commit is contained in:
caoyanyi
2024-01-19 08:45:34 +08:00
parent 3da86a2c52
commit 4c317bf8b0
+1 -4
View File
@@ -35,10 +35,7 @@ class productsBox extends wg
protected function build(): wg
{
global $lang, $config;
list($productItems, $branchGroups, $planGroups, $productPlans) = $this->prop(array('productItems', 'branchGroups', 'planGroups', 'productPlans'));
list($linkedProducts, $linkedBranches, $currentProduct, $currentPlan) = $this->prop(array('linkedProducts', 'linkedBranches', 'currentProduct', 'currentPlan'));
list($project, $isStage) = $this->prop(array('project', 'isStage'));
list($project, $productItems, $linkedProducts) = $this->prop(array('project', 'productItems', 'linkedProducts'));
$productsBox = array();
if(!empty($project->hasProduct) && $linkedProducts)