fix minor typo civicrm_cache table
authorkurund <kurund@civicrm.org>
Sun, 7 Apr 2013 17:34:04 +0000 (23:04 +0530)
committerkurund <kurund@civicrm.org>
Sun, 7 Apr 2013 17:34:04 +0000 (23:04 +0530)
CRM/Core/BAO/Cache.php

index e7323eaaa0549c4d29e98c33a877fd9d8c0777cf..4a21f774c0d63347da763016dd2b36c9a1d5bdf0 100644 (file)
@@ -172,7 +172,8 @@ class CRM_Core_BAO_Cache extends CRM_Core_DAO_Cache {
     // set the cache in memory
     $argString = "CRM_CT_{$group}_{$path}_{$componentID}";
     $cache = CRM_Utils_Cache::singleton();
-    $cache->set($argString, $dao->data);
+    $data = unserialize($dao->data);
+    $cache->set($argString, $data);
   }
 
   /**