Skip to content

Commit a7628d0

Browse files
committed
ACP2E-55: Simple only global attributes make configurable attributes hidden when creating product configurations
- Fixed the CR comments.
1 parent 05515a8 commit a7628d0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/code/Magento/ConfigurableProduct/Plugin/Model/UpdateConfigurableProductAttributeCollection.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ public function beforeGetData(Attributes $subject): void
2828
'(`apply_to` IS NULL) OR
2929
(
3030
FIND_IN_SET(' .
31-
"'" . Type::TYPE_SIMPLE . "'" . ',
31+
sprintf("'%s'", Type::TYPE_SIMPLE) . ',
3232
`apply_to`
3333
) AND
3434
FIND_IN_SET(' .
35-
"'" . Type::TYPE_VIRTUAL . "'" . ',
35+
sprintf("'%s'", Type::TYPE_VIRTUAL) . ',
3636
`apply_to`
3737
) AND
3838
FIND_IN_SET(' .
39-
"'" . Configurable::TYPE_CODE . "'" . ',
39+
sprintf("'%s'", Configurable::TYPE_CODE) . ',
4040
`apply_to`
4141
)
4242
)'

0 commit comments

Comments
 (0)