----------------------------------------
* CRM-19438: Entries in financial item not recorded properly when created via offline Membership form
https://issues.civicrm.org/jira/browse/CRM-19438
public static function getCachedPriceSetDetail($priceSetID) {
$cacheKey = __CLASS__ . __FUNCTION__ . '_' . $priceSetID;
$cache = CRM_Utils_Cache::singleton();
- $values = (array) $cache->get($cacheKey);
+ $values = $cache->get($cacheKey);
if (empty($values)) {
$data = self::getSetDetail($priceSetID);
$values = $data[$priceSetID];