dever 4 years ago
parent
commit
f6436c0d7e
1 changed files with 4 additions and 0 deletions
  1. 4 0
      app/content/lib/News.php

+ 4 - 0
app/content/lib/News.php

@@ -81,6 +81,10 @@ class News
             $info['video_info'] = Dever::qqvideo($info['video'], 2);
             $info['video_id'] = isset($info['video_info'][1]) ? $info['video_info'][1] : 0;
             $info['video_link'] = isset($info['video_info'][0]) ? $info['video_info'][0] : '';
+        } else {
+            $info['video_info'] = '';
+            $info['video_id'] = '';
+            $info['video_link'] = '';
         }
 
         $info['sname'] = $info['name'] . '<br />' . $info['desc'];