* Adjust the product getSwitcher link under the testtask module.

This commit is contained in:
hufangzhou
2021-04-28 15:07:12 +08:00
parent bbf9941348
commit bc71469cd1
+2 -1
View File
@@ -1601,7 +1601,8 @@ class productModel extends model
}
elseif($module == 'testtask')
{
$link = helper::createLink($module, 'browse', "productID=%s" . ($branch ? "&branch=%s" : '&branch=0') . "&extra=$extra");
$extra = $method != 'browse' ? '' : "&extra=$extra";
$link = helper::createLink($module, 'browse', "productID=%s" . ($branch ? "&branch=%s" : '&branch=0') . $extra);
}
elseif($module == 'bug' && $method == 'view')
{