diff --git a/inc/functions.php b/inc/functions.php index 5457cc5f..895a3adb 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -1691,7 +1691,7 @@ function buildIndex($global_api = "yes") { break; if ($config['cache']['enabled']) { - $contentHash = md5(json_encode($content['threads'])); + $contentHash = md5(json_encode($content['body'])); $cacheHit = cache::get('index_cache'. $contentHash); if ($cacheHit) continue;