From d9f34d2963b48a531886a12a314a475dc66d6e37 Mon Sep 17 00:00:00 2001 From: Lee Willis Date: Sun, 30 Jun 2013 22:27:32 +0100 Subject: [PATCH] Fix PHP warning that could block contributor embeds. Fixes #6 --- github-api.php | 1 - 1 file changed, 1 deletion(-) diff --git a/github-api.php b/github-api.php index aae9d27..5e41521 100644 --- a/github-api.php +++ b/github-api.php @@ -185,7 +185,6 @@ class github_api { $this->log( "get_user( $user )", GEDEBUG_CALL ); $user = trim( $user, '/' ); - $repository = trim( $repository, '/' ); $results = $this->call_api( "https://api.github.com/users/$user" );