Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 4.5.1
-
Fix Version/s: 4.5.2
-
Component/s: None
-
Labels:None
Description
Someone reported receiving this error when adding a server/module row in the ISPConfig module.
count(): Parameter must be an array or an object that implements Countable on line 72 in /path/to/components/modules/ispconfig/views/default/add_row.pdt
Tyson suggested we change line 72 from:
$num_servers = count($this->Html->ifSet($vars->name_servers));
to:
$num_servers = count($this->Html->ifSet($vars->name_servers, []));
Activity
Paul Phillips
created issue -
Tyson Phillips (Inactive)
made changes -
Field | Original Value | New Value |
---|---|---|
Sprint | 4.6.0 Sprint 4 [ 80 ] |
Tyson Phillips (Inactive)
made changes -
Rank | Ranked higher |
Jonathan Reissmueller
made changes -
Rank | Ranked higher |
Jonathan Reissmueller
made changes -
Status | Open [ 1 ] | In Review [ 5 ] |
Resolution | Fixed [ 1 ] |
Jonathan Reissmueller
made changes -
Resolution | Fixed [ 1 ] | |
Status | In Review [ 5 ] | Reopened [ 4 ] |
Jonathan Reissmueller
made changes -
Remaining Estimate | 0 minutes [ 0 ] | |
Time Spent | 22 minutes [ 1320 ] | |
Worklog Id | 12046 [ 12046 ] |
Jonathan Reissmueller
made changes -
Status | Reopened [ 4 ] | In Review [ 5 ] |
Resolution | Fixed [ 1 ] |
Tyson Phillips (Inactive)
made changes -
Status | In Review [ 5 ] | Closed [ 6 ] |