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 49f9277 commit 0627db9Copy full SHA for 0627db9
app/code/Magento/Sales/Model/AdminOrder/Create.php
100644
100755
@@ -2039,7 +2039,7 @@ protected function _getNewCustomerEmail()
2039
{
2040
$email = $this->getData('account/email');
2041
2042
- if ($email || $this->getIsEmailRequired()) {
+ if ($email || $this->isEmailRequired()) {
2043
return $email;
2044
}
2045
@@ -2051,7 +2051,7 @@ protected function _getNewCustomerEmail()
2051
*
2052
* @return bool
2053
*/
2054
- private function getIsEmailRequired(): bool
+ private function isEmailRequired(): bool
2055
2056
return (bool)$this->_scopeConfig->getValue(
2057
self::XML_PATH_EMAIL_REQUIRED_CREATE_ORDER,
0 commit comments