Skip to content

Commit

Permalink
Fatal error on empty group submission
Browse files Browse the repository at this point in the history
  • Loading branch information
jitendrapurohit committed Apr 23, 2024
1 parent 63f1803 commit 22217ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WebformCivicrmPostProcess.php
Original file line number Diff line number Diff line change
Expand Up @@ -2504,7 +2504,7 @@ private function fillDataFromSubmission() {
if (substr($name, 0, 6) === 'custom' || ($table == 'other' && in_array($name, ['group', 'tag']))) {
$val = array_filter($val);
if ($name === 'group') {
unset($val['public_groups']);
unset($val['public_groups'], $this->data[$ent][$c][$table][$n][$name]['public_groups']);
}
}

Expand Down

0 comments on commit 22217ee

Please sign in to comment.