Skip to content

Commit 9fc3ba7

Browse files
committed
AC-11970: Imposible to reorder configurable products with one checkbox selected custom option
1 parent 350d9f1 commit 9fc3ba7

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Catalog/Model/Product/Option/Type

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Model/Product/Option/Type/Select.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public function validateUserValue($values)
9292
if (!$this->_isSingleSelection()) {
9393
if (is_string($value)) {
9494
$value = explode(',', $value);
95-
} else if (!is_array($value)) {
95+
} elseif (!is_array($value)) {
9696
$value = [$value];
9797
}
9898
$valuesCollection = $option->getOptionValuesByOptionId($value, $this->getProduct()->getStoreId());

0 commit comments

Comments
 (0)