From b2b4dd3cc0b0d2ef7460c0f3a863b5ad62824722 Mon Sep 17 00:00:00 2001 From: bakw Date: Sat, 8 Jan 2022 19:50:17 +0800 Subject: [PATCH] Update ItemController.class.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 第119行有Bug --- server/Application/Api/Controller/ItemController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/Application/Api/Controller/ItemController.class.php b/server/Application/Api/Controller/ItemController.class.php index 1c0095973..17136330c 100644 --- a/server/Application/Api/Controller/ItemController.class.php +++ b/server/Application/Api/Controller/ItemController.class.php @@ -116,7 +116,7 @@ private function _show_regular_item($item){ } // 登录的状态下,才去检查下是否开启了水印 - if(is_login){ + if($is_login){ //少了个$ if(is_login) $show_watermark = D("Options")->get("show_watermark" ) ; $show_watermark = $show_watermark ? '1' : '0'; }