fix minore

This commit is contained in:
MatteoPistorello 2023-07-21 17:20:16 +02:00
parent da53a916ae
commit 7e363e689c
1 changed files with 2 additions and 1 deletions

View File

@ -319,13 +319,14 @@ elseif (filter('op') == 'copia-checklist') {
elseif (filter('op') == 'aggiungi-check') {
$content = post('content');
$parent_id = post('parent') ?: null;
$is_titolo = post('is_titolo');
$users = post('assigned_users');
$users = array_clean($users);
$group_id = post('group_id');
$check = Check::build($user, $structure, $id_record, $content, $parent_id);
$check = Check::build($user, $structure, $id_record, $content, $parent_id, $is_titolo);
$check->setAccess($users, $group_id);
}