diff --git a/linuxfoo-gitlab.php b/linuxfoo-gitlab.php index 50bdab6..2261dda 100644 --- a/linuxfoo-gitlab.php +++ b/linuxfoo-gitlab.php @@ -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 { ''; } - $out .= - ''. - ''; + $out .= ''; + $out .= ''; return $out; }