diff options
| author | Savetheinternet <savetheinternet@tinyboard.org> | 2011-05-20 21:08:41 +1000 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@tinyboard.org> | 2011-05-20 21:08:41 +1000 |
| commit | 736b8e3c9fae04cc3e8d77baeb2be0ad48da8dbb (patch) | |
| tree | 9ba11d087137460870561dfd63e61c1c8342c2ea /inc | |
| parent | d155898726e4dad4d90e3f2d989dd9b8893fa03f (diff) | |
mistake in last commit
Diffstat (limited to 'inc')
| -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 8d19bea0..65705766 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -1255,7 +1255,7 @@ if($config['memcached']['enabled'] && !$mod) { // Clear cache for index pages - $memcached->delete("theadindex_{$board['uri']}_{$th['id']}"); + $memcached->delete("theadindex_{$board['uri']}_{$id}"); } $query = prepare(sprintf("SELECT * FROM `posts_%s` WHERE (`thread` IS NULL AND `id` = :id) OR `thread` = :id ORDER BY `thread`,`time`", $board['uri'])); |
