Ticket #2270: channel_detail_fix-2270.patch

File channel_detail_fix-2270.patch, 699 bytes (added by anonymous, 19 years ago)
  • mythplugins/mythweb/modules/tv/channel.php

     
    3636// New list date?
    3737    $_GET['date'] or $_GET['date'] = $_POST['date'];
    3838    if ($_GET['date'])
    39         $_SESSION['list_time'] = unixtime(sprintf('%08d000000', $_GET['date']));
     39        $_SESSION['list_time'] = $_GET['date'];
    4040
    4141// Load the programs for today
    4242    $this_channel->programs = load_all_program_data(mktime(0, 0, 0, date('n', $_SESSION['list_time']), date('j', $_SESSION['list_time']), date('Y', $_SESSION['list_time'])),