vc link force being linked

This commit is contained in:
fbsanchez 2021-02-03 13:01:31 +01:00
parent d2b166c295
commit 59eb9880fe
1 changed files with 2 additions and 2 deletions

View File

@ -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;
} }