Skip to content

Commit

Permalink
Don't return unknown if null
Browse files Browse the repository at this point in the history
  • Loading branch information
Universal-Omega authored Dec 6, 2023
1 parent a2deb4f commit fa5086b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MediaWikiUserpageCustomField.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function renderPropertyViewValue( array $handles ) {
$account = $this->getExternalAccount();

if ( $account === null ) {
return pht( 'Unknown' );
return;
}

$uri = $account->getAccountURI();
Expand Down

0 comments on commit fa5086b

Please sign in to comment.