diff options
| author | Savetheinternet <savetheinternet@tinyboard.org> | 2011-05-20 08:36:44 +1000 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@tinyboard.org> | 2011-05-20 08:36:44 +1000 |
| commit | 8b61b440e7abcade11ccd3924b9aefc1599d77ca (patch) | |
| tree | c5debdd2033d4b0ca2e6133f62bfed3c12c34f2e | |
| parent | 0794f9c53bcda5e7436fe30209df26a1ce262868 (diff) | |
stupid caching bug removing mod controls
| -rw-r--r-- | inc/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
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']); } |
