dever 6 years ago
parent
commit
db6279a09a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      live/lib/Cron.php

+ 1 - 1
live/lib/Cron.php

@@ -39,7 +39,7 @@ class Cron
         if ($data) {
             $time = time();
             foreach ($data as $k => $v) {
-                if ($v[$video['stream_id']] > 0 && !$v[$video['url_m3u8']] && $v[$video['sdate']] > 0 && $v[$video['edate']] > 0 && $time >= $v[$video['edate']]) {
+                if ($v[$video['stream_id']] > 0 && $v[$video['sdate']] > 0 && $v[$video['edate']] > 0 && $time >= $v[$video['edate']]) {
                     $info = Dever::db('live/stream')->one($v[$video['stream_id']]);
                     $config = Dever::db('live/info')->one($info['live_id']);
                     $handle = new Handle();