Issue #1638 fixed
This commit is contained in:
parent
62533d9df8
commit
1b21c39ee5
|
|
@ -11,8 +11,6 @@ class ProductAttributeValue extends Model implements ProductAttributeValueContra
|
|||
{
|
||||
public $timestamps = false;
|
||||
|
||||
// protected $with = ['attribute'];
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -162,7 +162,7 @@ abstract class AbstractType
|
|||
if (! isset($data[$attribute->code]) || (in_array($attribute->type, ['date', 'datetime']) && ! $data[$attribute->code]))
|
||||
continue;
|
||||
|
||||
if ($attribute->type == 'multiselect')
|
||||
if ($attribute->type == 'multiselect' || $attribute->type == 'checkbox')
|
||||
$data[$attribute->code] = implode(",", $data[$attribute->code]);
|
||||
|
||||
if ($attribute->type == 'image' || $attribute->type == 'file') {
|
||||
|
|
|
|||
Loading…
Reference in New Issue