Skip to content

Commit

Permalink
Merge "Fix impossible type comparison"
Browse files Browse the repository at this point in the history
  • Loading branch information
jenkins-bot authored and Gerrit Code Review committed Jan 6, 2025
2 parents 28c96ae + a68364f commit a7765dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repo/includes/Specials/SpecialModifyTerm.php
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ protected function getForm( ?EntityDocument $entity ) {
$languageName = $this->languageNameUtils
->getLanguageName( $this->languageCode, $this->getLanguage()->getCode() );

if ( $entity !== null && $this->languageCode !== null && $languageName !== '' ) {
if ( $entity !== null && $languageName !== '' ) {
// Messages:
// wikibase-setlabel-introfull
// wikibase-setdescription-introfull
Expand Down

0 comments on commit a7765dd

Please sign in to comment.