Ticket #10274: fix.2.patch

File fix.2.patch, 791 bytes (added by furti@…, 9 years ago)
  • modules/tv/detail.php

    diff --git a/modules/tv/detail.php b/modules/tv/detail.php
    index 5b444d9..626c8c5 100644
    a b  
    7171    if (empty($_GET['recordid'])) {
    7272    // Starttime in the past -- See if it's a recording
    7373        if ($_GET['starttime'] < time()) {
    74             $record = MythBackend::find()->queryProgramRows('QUERY_RECORDING TIMESLOT '.$_GET['chanid'].' '.unix2mythtime($_GET['starttime']), 1);
     74            $record = MythBackend::find()->queryProgramRows('QUERY_RECORDING TIMESLOT '.$_GET['chanid'].' '.unix2gmtmythtime($_GET['starttime']), 1);
    7575            if (is_array($record[0])) {
    7676                $prog = new Program($record[0]);
    7777                if ($_GET['chanid'] == $prog->chanid && $_GET['starttime'] == $prog->recstartts) {