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".