diff --git a/inc/functions.php b/inc/functions.php index 05ddc998..90e0bf16 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -1510,7 +1510,7 @@ function buildThread($id, $return=false, $mod=false) { if ($config['cache']['enabled'] && !$mod) { // Clear cache cache::delete("thread_index_{$board['uri']}_{$id}"); - cache::delete("thread_index_{$board['uri']}_{$th['id']}_omitted"); + cache::delete("thread_index_{$board['uri']}_{$id}_omitted"); cache::delete("thread_{$board['uri']}_{$id}"); }