diff --git a/inc/functions.php b/inc/functions.php index b0d97dc4..c6646c4d 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -1257,7 +1257,7 @@ 'return' => ($mod ? '?' . $board['url'] . $config['file_index'] : $config['root'] . $board['uri'] . '/' . $config['file_index']) )); - if($config['memcached']['cache_threads'] && $config['memcached']['enabled']) { + if($config['memcached']['cache_threads'] && $config['memcached']['enabled'] && $mod) { $memcached->set('thread_' . $board['uri'] . '_' . $id, $body, time() + $config['memcached']['timeout']); }