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)'")); } /**