default_value of roles cannot be a bool

Created on 13 March 2024, 4 months ago

Problem/Motivation

If the isn't any roles set the default_value of the roles form checkbox is set to be FALSE but the form API don't allow bool on this option

Steps to reproduce

Just enable the module, go to the configuration page and check the log for PHP errors

Proposed resolution

Replace the FALSE for an empty array

πŸ› Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

πŸ‡§πŸ‡·Brazil pfeiffer

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

Comments & Activities

Production build 0.69.0 2024