Details
-
Type: Task
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 4.4.0-b1
-
Component/s: None
-
Labels:None
Description
In php 7.2+, a warning/error is raised if the count() function is called on something that is not Countable, such as null. The Emails model does this with CC, BCC, and attachments, and should be updated to ensure we only count() on Countable interfaces.
count(): Parameter must be an array or an object that implements Countable on line 846 in /app/models/emails.php
Activity
Tyson Phillips (Inactive)
created issue -
Tyson Phillips (Inactive)
made changes -
Field | Original Value | New Value |
---|---|---|
Rank | Ranked higher |
Tyson Phillips (Inactive)
made changes -
Sprint | 4.4.0 Sprint 4 [ 71 ] |
Tyson Phillips (Inactive)
made changes -
Rank | Ranked higher |
Automated transition triggered when Tyson Phillips (Inactive) created a branch in Stash -
Status | Open [ 1 ] | In Progress [ 3 ] |
Automated transition triggered when Tyson Phillips (Inactive) created pull request #529 in Stash -
Status | In Progress [ 3 ] | In Review [ 5 ] |
Resolution | Fixed [ 1 ] |
Automated transition triggered when Tyson Phillips (Inactive) merged pull request #529 in Stash -
Status | In Review [ 5 ] | Closed [ 6 ] |