Skip to content

Commit

Permalink
add check
Browse files Browse the repository at this point in the history
Co-authored-by: Cédric Anne <[email protected]>
  • Loading branch information
stonebuzz and cedric-anne authored Dec 3, 2024
1 parent db2a1da commit d05ea7e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/container.class.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,10 @@ class %%CLASSNAME%% extends PluginFieldsAbstractContainerInstance
]
)->current();
if ($related_item === null) {
continue;
}

//update if needed
if ($fields['is_recursive'] != $related_item['is_recursive']) {
$stmt->bind_param(
Expand Down

0 comments on commit d05ea7e

Please sign in to comment.