Closed argiepiano closed 2 years ago
IMPORTANT: for this fix to have an effect and allow OgGroupAndUngroup
to pass, PR #64 MUST be merged first.
I merged #64, then closed and reopened this PR to trigger tests again.
✅ Organic groups: OG group and ungroup (OgGroupAndUngroup) 28 passes, 0 fails, and 0 exceptions. [10.078s]
Thanks @argiepiano!
Fixes #32 for
OgGroupAndUngroup
testsThis small tweak of
og_is_group_audience_field()
is necessary in PHP 7.4+ in order forOgGroupAndUngroup
to pass.This tweak also helps catch typos in field names, or wrong field names - it avoids throwing an Exception for a null array offset in PHP 7.4+