File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed
app/code/Magento/Checkout/Block/Checkout Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -321,24 +321,14 @@ protected function getDefaultValue($attributeCode)
321
321
return $ this ->getCustomer ()->getFirstname ();
322
322
}
323
323
break ;
324
- case 'lastname ' :
325
- if ($ this ->getCustomer ()) {
326
- return $ this ->getCustomer ()->getLastname ();
327
- }
328
- break ;
329
324
case 'middlename ' :
330
325
if ($ this ->getCustomer ()) {
331
326
return $ this ->getCustomer ()->getMiddlename ();
332
327
}
333
328
break ;
334
- case 'prefix ' :
335
- if ($ this ->getCustomer ()) {
336
- return $ this ->getCustomer ()->getPrefix ();
337
- }
338
- break ;
339
- case 'suffix ' :
329
+ case 'lastname ' :
340
330
if ($ this ->getCustomer ()) {
341
- return $ this ->getCustomer ()->getSuffix ();
331
+ return $ this ->getCustomer ()->getLastname ();
342
332
}
343
333
break ;
344
334
case 'country_id ' :
You can’t perform that action at this time.
0 commit comments