Browse Source

fix #660 版权处理允许跳转链接为空

magicblack 3 years ago
parent
commit
2208631df9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/index/controller/Vod.php

+ 1 - 1
application/index/controller/Vod.php

@@ -55,7 +55,7 @@ class Vod extends Base
     public function detail()
     {
         $info = $this->label_vod_detail();
-        if($info['vod_copyright']==1 && !empty($info['vod_jumpurl']) && $GLOBALS['config']['app']['copyright_status']==2){
+        if($info['vod_copyright']==1 && $GLOBALS['config']['app']['copyright_status']==2){
             return $this->label_fetch('vod/copyright');
         }
         if(!empty($info['vod_pwd']) && session('1-1-'.$info['vod_id'])!='1'){