Skip to content

Commit a314ee5

Browse files
author
Oleksandr Gorkun
committed
MC-18685: Remove custom layout updates from admin
1 parent db439e7 commit a314ee5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/CatalogSampleData/Model/Attribute.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ protected function getOption($attribute, $data)
179179
->load();
180180
foreach ($data['option'] as $value) {
181181
if (!$options->getItemByColumnValue('value', $value)) {
182-
$result[] = $value;
182+
$result[] = trim($value);
183183
}
184184
}
185185
return $result ? $this->convertOption($result) : $result;

0 commit comments

Comments
 (0)