stupid caching bug removing mod controls

This commit is contained in:
Savetheinternet 2011-05-20 08:36:44 +10:00
parent 0794f9c53b
commit 8b61b440e7

View File

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