View Issue Details

IDProjectCategoryView StatusLast Update
0034439mantisbtcode cleanuppublic2024-05-12 12:34
Reporterdregad Assigned Todregad  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Target Version2.26.2Fixed in Version2.26.2 
Summary0034439: Deprecated warning when updating Issue with null checkbox Custom Field
Description

When editing an issue with a Custom Field of type Checkbox and the field's value is null, a deprecated warning is shown with PHP 8.2

DEPRECATED: 'explodel): Passing null to parameter 0000002 ($string) of type string is deprecated' in ./core/cfdefs/cfdef_standard.php' line 406

TagsPHP 8.2

Activities

There are no notes attached to this issue.

Related Changesets

MantisBT: master-2.26 1f355013

2024-05-08 12:57

dregad


Details Diff
Fix PHP 8.2 deprecated warning

When editing an issue with a Custom Field of type Checkbox and the
field's value is null, a deprecated warning is shown with PHP 8.2

DEPRECATED: 'explode(): Passing null to parameter 0000002 ($string) of
type string is deprecated' in ./core/cfdefs/cfdef_standard.php' line 406

Fixes 0034439
Affected Issues
0034439
mod - core/cfdefs/cfdef_standard.php Diff File