]> git.etc.gen.nz Git - mythtv-status.git/commitdiff
Fix warning.
authorAndrew Ruthven <andrew@etc.gen.nz>
Mon, 19 Nov 2007 08:43:56 +0000 (21:43 +1300)
committerAndrew Ruthven <andrew@cyclops.etc.gen.nz>
Mon, 19 Nov 2007 08:43:56 +0000 (21:43 +1300)
bin/mythtv-status

index bbd44e8f57c4c3e18657880a6247d032027483da..f77a66b666204f7a9fe9b9158720ca97d0fecf23 100755 (executable)
@@ -121,7 +121,7 @@ my @blocks = (
       'find_next' => sub {
         my $vars = shift;
          return
-          if $next_time eq 'now';
+          if defined $next_time && $next_time eq 'now';
 
          my $date = ParseDate($vars->{'startTime'});
         if (! defined $next_time || Date_Cmp($date, $next_time) < 0) {