* Change getting repoID from _GET to getting from para.
This commit is contained in:
@@ -254,12 +254,13 @@ class gitlab extends control
|
||||
/**
|
||||
* Import gitlab issue to zentaopms.
|
||||
*
|
||||
* @param int $repoID
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function importIssue()
|
||||
public function importIssue($repoID)
|
||||
{
|
||||
$repo = $this->loadModel('repo')->getRepoByID($this->get->repo);
|
||||
$repo = $this->loadModel('repo')->getRepoByID($repoID);
|
||||
$productIDList = explode(',', $repo->product);
|
||||
$gitlabID = $repo->gitlab;
|
||||
$projectID = $repo->project;
|
||||
|
||||
Reference in New Issue
Block a user