We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c5f589 commit 4255f1fCopy full SHA for 4255f1f
app/code/Magento/Customer/Model/Options.php
@@ -61,11 +61,10 @@ public function getNamePrefixOptions($store = null)
61
*/
62
public function getNameSuffixOptions($store = null)
63
{
64
- $options = $this->addressHelper->getConfig('suffix_options', $store);
65
- return $options !== null ? $this->prepareNamePrefixSuffixOptions(
66
- $options,
+ return $this->prepareNamePrefixSuffixOptions(
+ $this->addressHelper->getConfig('suffix_options', $store),
67
$this->addressHelper->getConfig('suffix_show', $store) === NooptreqSource::VALUE_OPTIONAL
68
- ) : false;
+ );
69
}
70
71
/**
0 commit comments