1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-19 16:58:48 +02:00

Fix one more issue for username "0".

This commit is contained in:
epriestley 2012-09-13 17:05:53 -07:00
parent b77b4f7155
commit 2d66798c5d

View file

@ -112,7 +112,7 @@ final class PhabricatorOAuthProviderGitHub extends PhabricatorOAuthProvider {
public function retrieveUserAccountURI() {
$username = $this->retrieveUserAccountName();
if ($username) {
if (strlen($username)) {
return 'https://github.com/'.$username;
}
return null;