Fix bug 15784

This commit is contained in:
root
2021-11-01 17:06:51 +08:00
parent 8101f661ab
commit 69287cea22
+8 -2
View File
@@ -403,8 +403,14 @@ class bug extends control
if($this->app->tab == 'execution')
{
if(!preg_match("/(m=|\/)execution(&f=|-)bug(&|-|\.)?/", $this->session->bugList)) $location = $this->session->bugList;
else $location = $this->createLink('execution', 'bug', "executionID=$executionID");
if(!preg_match("/(m=|\/)execution(&f=|-)bug(&|-|\.)?/", $this->session->bugList))
{
$location = $this->session->bugList;
}
else
{
$location = $this->createLink('execution', 'bug', "executionID=$executionID");
}
}
elseif($this->app->tab == 'project')
{