diff --git a/inc/display.php b/inc/display.php index b5744757..a4628a77 100644 --- a/inc/display.php +++ b/inc/display.php @@ -434,7 +434,8 @@ class Post { 'clean_global_mod_id' => null, ); - cache::set("post_clean_{$board['uri']}_{$this->id}", $this->clean); + if ($config['cache']['enabled']) + cache::set("post_clean_{$board['uri']}_{$this->id}", $this->clean); } }