File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
app/code/Magento/Catalog/Model/Product/Attribute/Backend/TierPrice Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ private function prepareTierPrice(array $data): array
155
155
$ this ->getAdditionalFields ($ data ),
156
156
[
157
157
'website_id ' => $ data ['website_id ' ],
158
- 'all_groups ' => $ useForAllGroups ? 1 : 0 ,
158
+ 'all_groups ' => ( int ) $ useForAllGroups ,
159
159
'customer_group_id ' => $ customerGroupId ,
160
160
'value ' => $ data ['price ' ] ?? null ,
161
161
'qty ' => (int )$ data ['price_qty ' ]
Original file line number Diff line number Diff line change @@ -259,7 +259,7 @@ private function prepareTierPrice(array $data): array
259
259
$ this ->getAdditionalFields ($ data ),
260
260
[
261
261
'website_id ' => $ data ['website_id ' ],
262
- 'all_groups ' => $ useForAllGroups ? 1 : 0 ,
262
+ 'all_groups ' => ( int ) $ useForAllGroups ,
263
263
'customer_group_id ' => $ customerGroupId ,
264
264
'value ' => $ data ['price ' ] ?? null ,
265
265
'qty ' => (int )$ data ['price_qty ' ]
You can’t perform that action at this time.
0 commit comments