From 736b8e3c9fae04cc3e8d77baeb2be0ad48da8dbb Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Fri, 20 May 2011 21:08:41 +1000 Subject: [PATCH] mistake in last commit --- inc/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']));