From af42f6cb3b78b1a0a5a40aa5d8c5f6b8424a6af9 Mon Sep 17 00:00:00 2001 From: hdm Date: Wed, 16 Nov 2022 15:45:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=9F=A5=E8=AF=86bug?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/article/controller/Index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/article/controller/Index.php b/app/article/controller/Index.php index 4d61204..1555449 100644 --- a/app/article/controller/Index.php +++ b/app/article/controller/Index.php @@ -97,7 +97,7 @@ class Index extends BaseController $keywordArray = explode(',', $param['keyword_names']); $res_keyword = (new ArticleList())->insertKeyword($keywordArray, $aid); } else { - $res_keyword == true; + $res_keyword = true; } if ($res_keyword !== false) { add_log('edit', $param['id'], $param); @@ -132,7 +132,7 @@ class Index extends BaseController $keywordArray = explode(',', $param['keyword_names']); $res_keyword = (new ArticleList())->insertKeyword($keywordArray, $aid); } else { - $res_keyword == true; + $res_keyword = true; } if ($res_keyword !== false) { add_log('add', $aid, $param);