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'; }