diff --git a/module/action/model.php b/module/action/model.php index df7fa21d1d..51fdf82151 100755 --- a/module/action/model.php +++ b/module/action/model.php @@ -627,7 +627,7 @@ class actionModel extends model if($history->field == 'git') $history->diff = str_replace('+', '%2B', $history->diff); } } - elseif(strpos(',linkstory,unlinkstory,createchildrenstory,', ",$actionName,") !== false) + elseif(strpos(',linkstory,unlinkstory,createchildrenstory,linkur,unlinkur,', ",$actionName,") !== false) { $extra = ''; foreach(explode(',', $action->extra) as $id) $extra .= common::hasPriv('story', 'view') ? html::a(helper::createLink('story', 'view', "storyID=$id"), "#$id ") . ', ' : "#$id, "; diff --git a/module/product/model.php b/module/product/model.php index f1fd086201..a37a3df60f 100755 --- a/module/product/model.php +++ b/module/product/model.php @@ -2365,7 +2365,7 @@ class productModel extends model public function getProductLink($module, $method, $extra, $branch = false) { $link = ''; - if(strpos(',programplan,product,roadmap,bug,testcase,testtask,story,qa,testsuite,testreport,build,projectrelease,projectstory,', ',' . $module . ',') !== false) + if(strpos(',programplan,product,bug,testcase,testtask,story,qa,testsuite,testreport,build,projectrelease,projectstory,', ',' . $module . ',') !== false) { if($module == 'product' && $method == 'project') { @@ -2450,7 +2450,7 @@ class productModel extends model $link = helper::createLink($module, $method, "productID=%s" . ($branch ? "&branch=%s" : '')); } } - else if($module == 'productplan' || $module == 'release') + else if($module == 'productplan' || $module == 'release' || $module == 'roadmap') { if($method != 'browse' && $method != 'create') $method = 'browse'; $link = helper::createLink($module, $method, "productID=%s" . ($branch ? "&branch=%s" : ''));