vc link force being linked
This commit is contained in:
parent
d2b166c295
commit
59eb9880fe
|
@ -1462,8 +1462,8 @@ class Item extends CachedModel
|
||||||
$result['linked_layout_node_id'] = $linked_layout_node_id;
|
$result['linked_layout_node_id'] = $linked_layout_node_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($id_layout_linked > 0 && $linked_layout_node_id > 0) {
|
if ($id_layout_linked > 0) {
|
||||||
// VC in node linked, force link status to enabled.
|
// If VC linked, force link status to enabled.
|
||||||
$result['enable_link'] = 1;
|
$result['enable_link'] = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue