View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0024355 | mantisbt | bugtracker | public | 2018-04-25 02:40 | 2018-04-29 19:21 |
| Reporter | diwi | Assigned To | atrol | ||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 2.13.1 | ||||
| Target Version | 2.13.2 | Fixed in Version | 2.13.2 | ||
| Summary | 0024355: SYSTEM WARNING 'count(): Parameter must be an array or an object that implements Countable' in 'IssueNoteAddCommand.php | ||||
| Description | php 7.2 'count(): Parameter must be an array or an object that implements Countable' in '/var/www/diwi.cz/mantis/core/commands/IssueNoteAddCommand.php' line 246 On line 246: if ( count( $this->files > 0 )) { | ||||
| Steps To Reproduce | When trying add note to issue | ||||
| Tags | No tags attached. | ||||
|
Thanks for telling.
As a side note. |
|
|
MantisBT: master-2.13 e92176ef 2018-04-24 23:56 Details Diff |
Correct attachment handling when adding notes Fixing a SYSTEM WARNING on PHP 7.2 'count(): Parameter must be an array or an object that implements Countable' Fixes 0024355 |
Affected Issues 0024355 |
|
| mod - core/commands/IssueNoteAddCommand.php | Diff File | ||
| mod - core/file_api.php | Diff File | ||