|
@@ -134,7 +134,7 @@ discard block |
|
|
block discarded – undo |
|
134
|
134
|
$helper = \XoopsModules\Wggithub\Helper::getInstance(); |
|
135
|
135
|
$utility = new \XoopsModules\Wggithub\Utility(); |
|
136
|
136
|
$ret = $this->getValues($keys, $format, $maxDepth); |
|
137
|
|
- $ret['id'] = $this->getVar('rm_id'); |
|
|
137
|
+ $ret['id'] = $this->getVar('rm_id'); |
|
138
|
138
|
$repositoriesHandler = $helper->getHandler('Repositories'); |
|
139
|
139
|
$repositoriesObj = $repositoriesHandler->get($this->getVar('rm_repoid')); |
|
140
|
140
|
$repoName = '*****missing repo_name*****'; |
|
@@ -162,7 +162,7 @@ discard block |
|
|
block discarded – undo |
|
162
|
162
|
$ret['submitter'] = \XoopsUser::getUnameFromId($this->getVar('rm_submitter')); |
|
163
|
163
|
$ret['gitbook_link'] = ''; |
|
164
|
164
|
if (strpos($ret['downloadurl'], 'XoopsDoc') > 0) { |
|
165
|
|
- $ret['gitbook_link'] = 'https://xoops.gitbook.io/' . $repoName . '/'; |
|
|
165
|
+ $ret['gitbook_link'] = 'https://xoops.gitbook.io/'.$repoName.'/'; |
|
166
|
166
|
} |
|
167
|
167
|
return $ret; |
|
168
|
168
|
} |
Please login to merge, or discard this patch.