dever %!s(int64=6) %!d(string=hai) anos
pai
achega
db6279a09a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();