Skip to content

Commit 16ef8b1

Browse files
author
Jakub Winkler
committed
#33486 issue bug-fix
1 parent ab59159 commit 16ef8b1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/Eav/Model/Entity/Attribute.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,12 +356,12 @@ public function getBackendTypeByInput($type)
356356
case 'text':
357357
case 'gallery':
358358
case 'media_image':
359-
case 'multiselect':
360359
$field = 'varchar';
361360
break;
362361

363362
case 'image':
364363
case 'textarea':
364+
case 'multiselect':
365365
$field = 'text';
366366
break;
367367

app/code/Magento/Eav/Test/Unit/Model/Entity/AttributeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public static function dataGetBackendTypeByInput()
6262
['text', 'varchar'],
6363
['gallery', 'varchar'],
6464
['media_image', 'varchar'],
65-
['multiselect', 'varchar'],
65+
['multiselect', 'text'],
6666
['image', 'text'],
6767
['textarea', 'text'],
6868
['date', 'datetime'],

0 commit comments

Comments
 (0)