1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-01-19 09:27:24 +01:00

Fix no cache bug in display.php

This commit is contained in:
8chan 2015-01-21 23:53:43 -08:00
parent cc30c90e57
commit c473b5409c

View File

@ -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);
}
}