From 914c5b3c63113b7096114648e1922ed98d068fb7 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 31 Mar 2022 01:46:40 +0200 Subject: [PATCH] fixed bugs --- inc/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/functions.php b/inc/functions.php index b80e2c63..1ff9768a 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -1693,7 +1693,7 @@ function buildIndex($global_api = "yes") { // Tries to avoid rebuilding if the body is the same as the one in cache. if ($config['cache']['enabled']) { $contentHash = md5(json_encode($content['body'])); - $contentHashKey = '_index_hashed_'. $board . '_' . $page; + $contentHashKey = '_index_hashed_'. $board['uri'] . '_' . $page; $cachedHash = cache::get($contentHashKey); if ($cachedHash == $contentHash){ if ($config['api']['enabled']) {