Skip to content

Commit 7d2e973

Browse files
committed
Merge branch '898-PR' into 2.4-develop
# Conflicts: # src/Migration/Handler/Placeholder.php # src/Migration/ResourceModel/AbstractCollection.php
2 parents 4341f38 + c30d177 commit 7d2e973

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Migration/Handler/CleanMultiselect.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function handle(Record $recordToHandle, Record $oppositeRecord)
5151
{
5252
$attributeIds = $this->getAttributeIds();
5353
if ($attributeIds && in_array($recordToHandle->getValue('attribute_id'), $attributeIds)) {
54-
$value = $recordToHandle->getValue($this->field);
54+
$value = $recordToHandle->getValue($this->field) ? $recordToHandle->getValue($this->field) : '';
5555
$value = explode(',', $value);
5656
$value = array_filter($value);
5757
$value = implode(',', $value);

0 commit comments

Comments
 (0)