These two kept on showing up...

Notice: Undefined index: attendee_count in theme_commons_events_attending_event() (regel 13 van ..../profiles/commons/modules/commons/commons_events/includes/commons_events.theme.inc).

Notice: Undefined index: #items in commons_events_entity_view_alter() (regel 205 van ..../profiles/commons/modules/commons/commons_events/commons_events.module).

This patch silences them...

The second notice was also reported in #2157897: Warning: Invalid argument supplied for foreach() in element_children()

CommentFileSizeAuthor
commons-events-two_notice_fixes.patch1.5 KBhelmo

Comments

japerry’s picture

Assigned: Unassigned » japerry

Looks good from review, running some tests to verify.

japerry’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.