Commit a05458e9 authored by Gorodkov Denis's avatar Gorodkov Denis

Commit

parent c2c848d3
......@@ -31,7 +31,7 @@ class QueueSwapi extends QueueWorkerBase {
if (is_array($value)) {
foreach ($value as $item) {
$nodeAdd = $this->getNodeByUrl($item);
$node->$field_name = '';
$node->set($field_name, NULL);
!empty($nodeAdd) ? $node->$field_name[] = $nodeAdd : '';
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment