* Task #3396 and Fix bug

This commit is contained in:
滔哥
2017-12-18 11:00:29 +08:00
parent 1de783bf74
commit 8a7a437960
2 changed files with 6 additions and 2 deletions
+1 -2
View File
@@ -759,9 +759,8 @@ class gitModel extends model
public function buildURL($methodName, $url, $revision)
{
$buildedURL = helper::createLink('git', $methodName, "path=&revision=$revision", 'html');
$buildedURL .= strpos($buildURL, '?') === false ? '?' : '&';
$buildedURL .= strpos($buildedURL, '?') === false ? '?' : '&';
$buildedURL .= 'repoUrl=' . helper::safe64Encode($url);
return $buildedURL;
}
}