Skip to content

Commit

Permalink
Merge pull request #64 from bookboon/hotfix/lang-name
Browse files Browse the repository at this point in the history
fix: language name used code
  • Loading branch information
lkm authored Jun 22, 2021
2 parents db04aa6 + 7558a99 commit d7e43bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Entity/Book.php
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ public function getLanguageName()
{
$language = $this->safeGet('language');

return $language['code'] ?? '';
return $language['name'] ?? '';
}

/**
Expand Down

0 comments on commit d7e43bf

Please sign in to comment.