Warning on user form submission when no forums or topics subscribed to

Created on 14 April 2023, over 1 year ago
Updated 27 September 2023, about 1 year ago

Problem/Motivation

User form generates a warning that the foreach loop in the form submission is receiving a string, not a countable object.

Steps to reproduce

Save user with no active forum or topic subscriptions

Proposed resolution

Attached patch checks whether there were any subscriptions sent before looping through them.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024