Hi!
In the field "Email to (eval)" code is:
// get the groups (raw data so we get the ids not the labels)
$myGroups = $this->data['trennid___usergroup_raw'];
// call the Fabrik getUsersInGroups method to get emails for the selected groups
$myEmails = $this->getUsersInGroups($myGroups, $field = 'email');
// return resulting array as comma separate string
return implode(',', $myEmails);
On J3 it works fine, but on J4 i have error:
0
Call to undefined method FabrikEvalClass_00d826fdf15c6f68ef7f51f35c55f738::getUsersInGroups()
In the field "Email to (eval)" code is:
// get the groups (raw data so we get the ids not the labels)
$myGroups = $this->data['trennid___usergroup_raw'];
// call the Fabrik getUsersInGroups method to get emails for the selected groups
$myEmails = $this->getUsersInGroups($myGroups, $field = 'email');
// return resulting array as comma separate string
return implode(',', $myEmails);
On J3 it works fine, but on J4 i have error:
0
Call to undefined method FabrikEvalClass_00d826fdf15c6f68ef7f51f35c55f738::getUsersInGroups()