From dc19e7a80d5bf2f97821b8d72c9f7ede9f0c25a1 Mon Sep 17 00:00:00 2001 From: Brownsugar Date: Sat, 18 Mar 2017 00:14:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20block=5Fthread.php?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- upload/source/class/block/forum/block_thread.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/upload/source/class/block/forum/block_thread.php b/upload/source/class/block/forum/block_thread.php index 393c254..ad2ef1f 100644 --- a/upload/source/class/block/forum/block_thread.php +++ b/upload/source/class/block/forum/block_thread.php @@ -261,13 +261,13 @@ class block_thread extends discuz_block { $digest = isset($parameter['digest']) ? $parameter['digest'] : 0; $stick = isset($parameter['stick']) ? $parameter['stick'] : 0; $orderby = isset($parameter['orderby']) ? (in_array($parameter['orderby'],array('lastpost','dateline','replies','views','heats','recommends')) ? $parameter['orderby'] : 'lastpost') : 'lastpost'; - $lastposter = !empty($parameter['lastposter']) ? $parameter['lastposter'] : ''; + $lastposter = !empty($parameter['lastposter']) ? $parameter['lastposter'] : ''; $lastpost = isset($parameter['lastpost']) ? intval($parameter['lastpost']) : 0; $postdateline = isset($parameter['postdateline']) ? intval($parameter['postdateline']) : 0; $titlelength = !empty($parameter['titlelength']) ? intval($parameter['titlelength']) : 40; $summarylength = !empty($parameter['summarylength']) ? intval($parameter['summarylength']) : 80; $recommend = !empty($parameter['recommend']) ? 1 : 0; - $reply = !empty($parameter['reply']); + $reply = !empty($parameter['reply']); $keyword = !empty($parameter['keyword']) ? $parameter['keyword'] : ''; $tagkeyword = !empty($parameter['tagkeyword']) ? $parameter['tagkeyword'] : ''; $typeids = !empty($parameter['typeids']) ? explode(',',$parameter['typeids']) : array();