1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 16:22:43 +01: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() { public function retrieveUserAccountURI() {
$username = $this->retrieveUserAccountName(); $username = $this->retrieveUserAccountName();
if ($username) { if (strlen($username)) {
return 'https://github.com/'.$username; return 'https://github.com/'.$username;
} }
return null; return null;