Skip to content
This repository has been archived by the owner on Aug 18, 2024. It is now read-only.

Remove any null values when building the list of target groups. #704

Merged
merged 7 commits into from
Jul 19, 2021

Conversation

gheydon
Copy link
Contributor

@gheydon gheydon commented Oct 16, 2020

During the building of the OgComplex widget (actually with any widget) a null item is appended to the og_audience field. This then causes a undefined index warning.

This fixes the warning and then strips out the NULL target ids.

CathLind referenced this pull request in CathLind/drupal_og May 15, 2021
@MPParsley MPParsley added this to the 8.x-1.0-alpha7 milestone Jul 13, 2021
@MPParsley MPParsley merged commit 68682dc into Gizra:8.x-1.x Jul 19, 2021
@MPParsley MPParsley added the Bug label Sep 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants