View Issue Details

IDProjectCategoryView StatusLast Update
0032940mantisbtadministrationpublic2023-10-31 16:32
Reporterdregad Assigned Todregad  
PrioritynormalSeverityminorReproducibilityN/A
Status closedResolutionfixed 
Target Version2.26.0Fixed in Version2.26.0 
Summary0032940: Add admin check to detect users without e-mail address when allow_empty_email = OFF
Description

This should be reported as a problem to the administrator.

TagsNo tags attached.

Relationships

related to 0032787 closeddregad Facilitate identification of user accounts sharing the same email 
related to 0033010 closeddregad PHP errors triggered by Admin Checks cause silent failure 

Activities

dregad

dregad

2023-10-08 10:20

developer   ~0068192

Fixed as part of PR https://github.com/mantisbt/mantisbt/pull/1919

Related Changesets

MantisBT: master be89aa3f

2023-09-16 09:57

dregad


Details Diff
Add admin check for users without e-mail

Fixes 0032940
Affected Issues
0032940
mod - admin/check/check_email_inc.php Diff File

MantisBT: master cc891e57

2023-10-08 09:27

dregad


Details Diff
Fix invalid config option

Admin check throws APPLICATION WARNING 100:
Configuration option "allow_empty_email" not found.

The correct name is "allow_blank-email".

Fixes 0032940
Affected Issues
0032940
mod - admin/check/check_email_inc.php Diff File

MantisBT: master dd34193c

2023-10-08 10:04

dregad


Details Diff
Fix error when checking blank emails

When allow_blank_emails == OFF and there are no users with an empty
email in the system, the Admin Checks throw an error:

count(): Argument 1 ($value) must be of type Countable|array, null given

Issue 0032940
Affected Issues
0032940
mod - admin/check/check_email_inc.php Diff File