Skip to content

Commit

Permalink
Force toselect type to int[]
Browse files Browse the repository at this point in the history
  • Loading branch information
mdeweerd committed Aug 27, 2024
1 parent 9de1f56 commit 6cac05a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion htdocs/core/tpl/massactions_pre.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@
// $object = Object fetched;
// $sendto
// $withmaindocfilemail
'@phan-var-force CommonObject $objecttmp';
'
@phan-var-force CommonObject $objecttmp
@phan-var-force int[] $toselect
';

if (!empty($sall) || !empty($search_all)) {
$search_all = empty($sall) ? $search_all : $sall;
Expand Down

0 comments on commit 6cac05a

Please sign in to comment.