View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0017441 | mantisbt | other | public | 2014-06-11 17:33 | 2015-04-04 12:12 |
Reporter | grangeway | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | 1.3.0dev | ||||
Target Version | 1.3.0-beta.1 | Fixed in Version | 1.3.0-beta.1 | ||
Summary | 0017441: PHP Notice generated by logging api | ||||
Description | Notice: Array to string conversion in core\logging_api.php on line 93 Time Memory Function Location1 0.0021 225568 {main}( ) ..\manage_proj_edit_page.php:0 | ||||
Steps To Reproduce | Set: $g_log_level = LOG_DATABASE; | ||||
Tags | No tags attached. | ||||
I recall having already fixed this issue in one of my pending branches/pull requests (probably the adodb one). |
|
Cherry-picked (and squashed) the 2 commits from https://github.com/mantisbt/mantisbt/pull/181 that fix this |
|
MantisBT: master c2513b1e 2014-05-12 06:45 Details Diff |
Logging API: fix array to string conversion notice log_event() used $p_msg to print the message, instead of the sanitized $s_msg variable, so when logging DB events which are submitted as an array with execution time, the notice gets triggered. Regression introduced by 2d0df25ec0fc7d9a0d97c8e5e102b617e5ff96d9 Fixes 0017441 |
Affected Issues 0017441 |
|
mod - core/logging_api.php | Diff File |