View Issue Details

IDProjectCategoryView StatusLast Update
0030193mantisbtbugtrackerpublic2022-05-10 19:12
Reporteratrol Assigned Todregad  
PriorityhighSeverityblockReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.25.4 
Target Version2.25.5Fixed in Version2.25.5 
Summary0030193: PHP 5.6 support broken
Description

Fix of 0024393 introduced a regression when using PHP 5.6 as the null coalescing operator is supported just in PHP >= 7.0

See also failed build https://app.travis-ci.com/github/mantisbt/mantisbt/builds/250463397 https://app.travis-ci.com/github/mantisbt/mantisbt/jobs/569728199

TagsNo tags attached.

Relationships

related to 0024393 closeddregad APPLICATION ERROR 401 Database query failed. Error received from database was #-52: SQLState: IMSSP 

Activities

There are no notes attached to this issue.

Related Changesets

MantisBT: master-2.25 61359078

2022-05-10 19:01

dregad

Details Diff
Revert "Use null-coalescing operator"

This language construct is not supported on PHP 5.6.

Partial revert of the backport commit 4f4e176d5e87dd835e5d646ab3de938c1e103f8a
(effectively reverting 7dd6c512a8e658e26c31dcd3bc393538f85ec166 from
master branch).

Fixes 0030193
Affected Issues
0030193
mod - core/bug_api.php Diff File