mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 00:42:41 +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() {
|
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;
|
||||||
|
|
Loading…
Reference in a new issue