From e419966f5ff7a9ea481e376846db4fb8f9e69ba5 Mon Sep 17 00:00:00 2001 From: Discuz! Date: Fri, 17 Feb 2017 16:14:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E9=99=84=E4=BB=B6?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E6=95=B0=E4=B8=8D=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- upload/source/class/table/table_forum_attachment.php | 1 + 1 file changed, 1 insertion(+) diff --git a/upload/source/class/table/table_forum_attachment.php b/upload/source/class/table/table_forum_attachment.php index 64be560..3e17553 100644 --- a/upload/source/class/table/table_forum_attachment.php +++ b/upload/source/class/table/table_forum_attachment.php @@ -26,6 +26,7 @@ class table_forum_attachment extends discuz_table } public function update_download($aid, $count = 1) { + $this->clear_cache($aid); return DB::query("UPDATE %t SET downloads=downloads+%d WHERE aid IN (%n)", array($this->_table, $count, (array)$aid), false, true); }