Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 3.5.0
-
Fix Version/s: 3.5.1
-
Component/s: None
-
Labels:None
Description
PHP 5.2 does not support the use of class constants from object references. This was not added until PHP 5.3.
On PHP 5.2 installations of Blesta, this results in:
syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM, expecting ')' in app/models/packages.php on line 735
Due to:
$periods = array($Proration::PERIOD_DAY, $Proration::PERIOD_WEEK, $Proration::PERIOD_MONTH, $Proration::PERIOD_YEAR);
Should be:
$periods = array(Proration::PERIOD_DAY, Proration::PERIOD_WEEK, Proration::PERIOD_MONTH, Proration::PERIOD_YEAR);
Activity
Cody Phillips (Inactive)
created issue -
Cody Phillips (Inactive)
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Cody Phillips [ cody ] | Tyson Phillips [ tyson ] |
Tyson Phillips (Inactive)
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Tyson Phillips (Inactive)
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |