From 2ec2a2fb859b2447dbe983a767640fb4e9486b4d Mon Sep 17 00:00:00 2001 From: tianshujie98 Date: Mon, 26 Apr 2021 10:51:07 +0800 Subject: [PATCH] * Fix bug. --- module/product/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/product/model.php b/module/product/model.php index 43fe6c4e1f..7608cf6684 100644 --- a/module/product/model.php +++ b/module/product/model.php @@ -74,7 +74,7 @@ class productModel extends model */ public function select($products, $productID, $currentModule, $currentMethod, $extra = '', $branch = 0, $module = 0, $moduleType = '', $withBranch = true) { - $isBrowseBug = (strpos(',project,execution,', ",{$this->app->openApp},") !== false and strpos(',bug,testcase,testtask,', ",{$this->app->rawMethod},") !== false and isset($products[0])) ? true : false; + $isBrowseBug = (strpos(',project,execution,', ",{$this->app->openApp},") !== false and strpos(',bug,testcase,testtask,ajaxselectstory,', ",{$this->app->rawMethod},") !== false and isset($products[0])) ? true : false; $this->app->loadLang('product'); if(!$isBrowseBug and !$productID)