Answer the question
In order to leave comments, you need to log in
Why is the element duplicated when reading a multiple property?
There is a multiple property of type "Binding to sections". When reading elements using "CIBlockElement::getList()" if the property contains multiple values, the element is duplicated:
while ($item = $result->fetch())
$elements[] = $item;
item = [
'PROPERTIES' = [
'PROP' => [
'VALUE' = [23, 64, 41]
]
]
]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question