Skip to content

Commit

Permalink
fix: fix restrictedAera on agenda tab for intervention
Browse files Browse the repository at this point in the history
  • Loading branch information
FHenry committed Feb 6, 2024
1 parent b42fd50 commit af0a1fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion htdocs/fichinter/agenda.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@
$socid = $user->socid;
}
$isdraft = (($object->status == $object::STATUS_DRAFT) ? 1 : 0);
restrictedArea($user, 'ficheinter', $object->id, '', '', 'fk_soc', 'rowid', $isdraft);
restrictedArea($user, 'ficheinter', $object->id, 'fichinter', '', 'fk_soc', 'rowid', $isdraft);



/*
Expand Down

0 comments on commit af0a1fe

Please sign in to comment.