View Issue Details

IDProjectCategoryView StatusLast Update
0035568mantisbtcode cleanuppublic2025-03-14 19:45
Reporterdregad Assigned Todregad  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Target Version2.28.0Fixed in Version2.28.0 
Summary0035568: Calling layout_page_header() without parameters throws deprecation warning on PHP 8.1
Description

PHP Deprecated: htmlspecialchars(): Passing null to parameter 1 ($string) of type string is deprecated in .../core/string_api.php on line 926

TagsPHP 8.1

Activities

There are no notes attached to this issue.

Related Changesets

MantisBT: master 4857cf29

2025-03-14 19:37

dregad


Details Diff
Fix PHP deprecation warning

htmlspecialchars(): Passing null to parameter 0000001 ($string) of type
string is deprecated

Thrown when calling layout_page_header() without parameters.

Fixes 0035568
Affected Issues
0035568
mod - core/html_api.php Diff File
mod - core/layout_api.php Diff File