Cancelling user account default settings

Created on 17 January 2012, almost 13 years ago
Updated 3 June 2024, 8 months ago

I noticed that if I cancel/delete a user account the default option for "Report as inappropriate" is set to "Unwanted, taunting, off-topic."

In mollom.module I found these 2 lines to be the culprits...

 line 557:        0 => t('Do not report'),
 line 563:    '#default_value' => 0,

When changed to...

 line 557:        '0' => t('Do not report'),
 line 563:    '#default_value' => '0',

... the default value is set appropriately.

Sorry for the lack of a patch. Git and Patch making are on my "learn-to-do" list.

🐛 Bug report
Status

Fixed

Version

1.1

Component

Code

Created by

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024