* Code for bug#28704.

This commit is contained in:
xieqiyu
2023-02-03 14:34:16 +08:00
parent c1ea319bcd
commit 3c8d8e27a6
+7 -1
View File
@@ -2456,7 +2456,13 @@ class productModel extends model
}
elseif($module == 'ticket')
{
return helper::createLink('ticket', 'browse', "browseType=byProduct&productID=%s");
$params = "productID=%s";
if(strpos('browse,view,edit', $method) !== false)
{
$method = 'browse';
$params = "browseType=byProduct&productID=%s";
}
return helper::createLink('ticket', $method, $params);
}
return $link;