mistake in last commit

This commit is contained in:
Savetheinternet 2011-05-20 21:08:41 +10:00
parent d155898726
commit 736b8e3c9f

View File

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