Skip to content

Commit

Permalink
Merge pull request #1562 from bakw/patch-1
Browse files Browse the repository at this point in the history
Update ItemController.class.php
  • Loading branch information
star7th authored Jan 8, 2022
2 parents f12ed74 + b2b4dd3 commit 2a45c48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/Application/Api/Controller/ItemController.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}
Expand Down

0 comments on commit 2a45c48

Please sign in to comment.