bugfix in commits API result check
This commit is contained in:
parent
89e1dbc6be
commit
165ebeb13d
1 changed files with 3 additions and 4 deletions
|
@ -111,7 +111,7 @@ class LinuxfooGitlab {
|
|||
|
||||
$commits_json = file_get_contents($commits_url);
|
||||
|
||||
if(is_null($project_json)) {
|
||||
if(is_null($commits_json)) {
|
||||
return self::error(__('Commits URL not reachable.', 'linuxfoo-gitlab'));
|
||||
}
|
||||
|
||||
|
@ -161,9 +161,8 @@ class LinuxfooGitlab {
|
|||
'</li>';
|
||||
}
|
||||
|
||||
$out .=
|
||||
'</ul>'.
|
||||
'</div>';
|
||||
$out .= '</ul>';
|
||||
$out .= '</div>';
|
||||
|
||||
return $out;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue