1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-01-31 04:13:49 +01:00

mistake in last commit

This commit is contained in:
Savetheinternet 2011-05-20 21:08:41 +10:00
parent bda65140a6
commit 2e4f6a5499

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