Ticket #3276: channel.php.diff

File channel.php.diff, 393 bytes (added by Michael Gisbers <michael@…>, 13 years ago)

When neither $_GET('date') nor $_POST('date') is set there is no default timestamp set.

  • channel.

    old new  
    3939        if (strlen($_GET['date']) == 8)
    4040            $_GET['date'] = unixtime(sprintf('%08d000000', $_GET['date']));
    4141        $_SESSION['list_time'] = $_GET['date'];
     42    } else {
     43       $_SESSION['list_time'] = time();
    4244    }
    4345
    4446// Load the programs for today