Answer the question
In order to leave comments, you need to log in
Does the server freeze when removing DETAIL_PICTURE?
I delete the value of the "DETAIL_PICTURE" field, and the server hangs up. The code:
$el->update($id, ['DETAIL_PICTURE' => ['del' => 'Y']]);
CIBlockElement::setPropertyValuesEx($id, $iblock, ['IMG' => ['del' => 'Y']]);
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