File tree 2 files changed +6
-6
lines changed
Controller/Adminhtml/Order
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -176,15 +176,15 @@ private function updateRegionData($attributeValues)
176
176
*/
177
177
private function truncateCustomFileAttributes (array $ data ): array
178
178
{
179
- $ foundedArrays = [];
179
+ $ foundArrays = [];
180
180
181
181
foreach ($ data as $ value ) {
182
182
if (is_array ($ value )) {
183
- $ foundedArrays = $ value ;
183
+ $ foundArrays = $ value ;
184
184
}
185
185
}
186
186
187
- if (empty ($ foundedArrays )) {
187
+ if (empty ($ foundArrays )) {
188
188
return $ data ;
189
189
}
190
190
Original file line number Diff line number Diff line change @@ -1576,9 +1576,9 @@ private function synchronizeAddressesFileAttributes(): void
1576
1576
$ customAttributes = $ this ->customAttributeList ->getAttributes ();
1577
1577
foreach ($ customAttributes as $ attribute ) {
1578
1578
$ attributeCode = $ attribute ->getAttributeCode ();
1579
- if ($ attribute ->getFrontendInput () === 'file ' &&
1580
- !empty ($ billingAddress ->getData ($ attributeCode )) &&
1581
- empty ($ shippingAddress ->getData ($ attributeCode ))
1579
+ if ($ attribute ->getFrontendInput () === 'file '
1580
+ && !empty ($ billingAddress ->getData ($ attributeCode ))
1581
+ && empty ($ shippingAddress ->getData ($ attributeCode ))
1582
1582
) {
1583
1583
$ shippingAddress ->setData ($ attributeCode , $ billingAddress ->getData ($ attributeCode ));
1584
1584
}
You can’t perform that action at this time.
0 commit comments