default_value of roles cannot be a bool

Created on 13 March 2024, 8 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.71.5 2024