fix minore
This commit is contained in:
parent
da53a916ae
commit
7e363e689c
|
@ -319,13 +319,14 @@ elseif (filter('op') == 'copia-checklist') {
|
||||||
elseif (filter('op') == 'aggiungi-check') {
|
elseif (filter('op') == 'aggiungi-check') {
|
||||||
$content = post('content');
|
$content = post('content');
|
||||||
$parent_id = post('parent') ?: null;
|
$parent_id = post('parent') ?: null;
|
||||||
|
$is_titolo = post('is_titolo');
|
||||||
|
|
||||||
$users = post('assigned_users');
|
$users = post('assigned_users');
|
||||||
$users = array_clean($users);
|
$users = array_clean($users);
|
||||||
|
|
||||||
$group_id = post('group_id');
|
$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);
|
$check->setAccess($users, $group_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue