Skip to content

Commit

Permalink
Bug fix: absent subfids need to be cast as array
Browse files Browse the repository at this point in the history
  • Loading branch information
jegelstaff committed Oct 5, 2024
1 parent afe15d2 commit 74474d2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
$allFids = $allFidsToUse;
} elseif ($selectedFramework and isset($frameworks[$selectedFramework])) {
$linkedForms = checkForLinks($selectedFramework, array($form_id), $form_id);
$allFids = array_merge($linkedForms['fids'], $linkedForms['sub_fids']);
$allFids = array_merge($linkedForms['fids'], (array) $linkedForms['sub_fids']);
} else {
$allFids = array(0=>$form_id);
}
Expand Down

0 comments on commit 74474d2

Please sign in to comment.