From 59a4b7206587f7c059ffb8cfd9e7278183baa7b2 Mon Sep 17 00:00:00 2001 From: tianshujie98 Date: Sun, 25 Apr 2021 15:01:44 +0800 Subject: [PATCH] * Fix bug create error. --- module/product/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/product/control.php b/module/product/control.php index 2a29cbdc26..345eb79397 100644 --- a/module/product/control.php +++ b/module/product/control.php @@ -848,7 +848,7 @@ class product extends control $projects += $this->product->getProjectPairsByProduct($productID, $branch ? "0,$branch" : $branch); if($this->app->getViewType() == 'json') die(json_encode($projects)); - die(html::select('project', $projects, $projectID, "class='form-control' onchange='loadProductExecutions({$productID})'")); + die(html::select('project', $projects, $projectID, "class='form-control' onchange='loadProductExecutions({$productID}, this.value)'")); } /**