mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 06:42:42 +01:00
Fix one more issue for username "0".
This commit is contained in:
parent
b77b4f7155
commit
2d66798c5d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue