View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0027464 | mantisbt | printing | public | 2020-10-31 20:18 | 2020-12-30 07:37 |
Reporter | RealityRipple | Assigned To | atrol | ||
Priority | low | Severity | trivial | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Target Version | 2.24.4 | Fixed in Version | 2.24.4 | ||
Summary | 0027464: print_manage_user_sort_link Function Parameter Required after Optional | ||||
Description | PHP 8 finally throws a warning when a parameter doesn't have a default value when a prior parameter does. This means core/print_api.php's print_manage_user_sort_link() function's $p_search parameter is officially going to be a troublemaker. | ||||
Steps To Reproduce | Use PHP 8 RC | ||||
Additional Information | Line 1380: | ||||
Tags | PHP 8 | ||||
MantisBT: master 928875f8 2020-11-01 04:12 Details Diff |
Fix PHP 8 warning on manage_user_page Declaring a required parameter after an optional one is deprecated in PHP 8. Fixed also usage of undefined constant ALL Fixes 0027464 |
Affected Issues 0027464 |
|
mod - core/print_api.php | Diff File | ||
MantisBT: master-2.24 e2276cba 2020-11-01 04:12 Committer: dregad Details Diff |
Fix PHP 8 warning on manage_user_page Declaring a required parameter after an optional one is deprecated in PHP 8. Fixed also usage of undefined constant ALL Fixes 0027464 (cherry picked from commit d6e395e7cab2724ad5edc3a3b53592462bb8415d) |
Affected Issues 0027464 |
|
mod - core/print_api.php | Diff File |