bugfix in commits API result check

This commit is contained in:
Tilman Kranz 2021-11-27 16:22:29 +01:00
parent 89e1dbc6be
commit 165ebeb13d

View File

@ -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;
}