Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Plugins
-
Labels:None
Description
In the event that LicenseManager::decryptData() returns something other than a serialized array, LicenseManager::validate() will raise an array_merge(): Argument #2 is not an array error.
Originally reported here: http://www.blesta.com/forums/index.php?/topic/4372-supposed-bug-license-module/
To fix: Only evaluate $data if it is an array. Otherwise return default status of "unknown".
Activity
| Field | Original Value | New Value |
|---|---|---|
| Description |
In the event that LicenseManager::decryptData() returns something other than a serialized array, LicenseManager::validate() will raise an *array_merge(): Argument #2 is not an array* error.
Originally reported here: http://www.blesta.com/forums/index.php?/topic/4372-supposed-bug-license-module/ |
In the event that LicenseManager::decryptData() returns something other than a serialized array, LicenseManager::validate() will raise an *array_merge(): Argument #2 is not an array* error.
Originally reported here: http://www.blesta.com/forums/index.php?/topic/4372-supposed-bug-license-module/ To fix: Only evaluate $data if it is an array. Otherwise return default status of "unknown". |
| Rank | Ranked higher |
| Sprint | 3.5.0 Sprint 6 [ 14 ] |
| Rank | Ranked higher |
| Status | Open [ 1 ] | In Progress [ 3 ] |
| Status | In Progress [ 3 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Status | In Review [ 5 ] | Closed [ 6 ] |