diff --git a/model/DataObject.php b/model/DataObject.php index bec04bb5b..5fff3f39a 100644 --- a/model/DataObject.php +++ b/model/DataObject.php @@ -3224,7 +3224,7 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity $SNG = singleton($callerClass); $cacheComponents = array($filter, $orderby, $SNG->extend('cacheKeyComponent')); - $cacheKey = md5(var_export($cacheComponents, true)); + $cacheKey = md5(serialize($cacheComponents)); // Flush destroyed items out of the cache if($cache && isset(DataObject::$_cache_get_one[$callerClass][$cacheKey])