Skip to content

Commit db48d68

Browse files
author
Bohdan Korablov
committed
MAGETWO-51479: Product Page. Advanced Inventory. Manage Stock Control Works Wrong.
1 parent d683299 commit db48d68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Ui/Component/Form/Element/AbstractOptionsField.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function prepare()
5353
} else {
5454
$options = array_values($this->options);
5555
}
56-
if (!isset($config['rawOptions']) || $config['rawOptions'] === false) {
56+
if (empty($config['rawOptions'])) {
5757
$options = $this->convertOptionsValueToString($options);
5858
}
5959
$config['options'] = array_values(array_merge_recursive($config['options'], $options));

0 commit comments

Comments
 (0)