Ticket #7592: upcoming_recordings_ical_link.diff

File upcoming_recordings_ical_link.diff, 583 bytes (added by nickj-fox@…, 12 years ago)

ical link fix

  • mythweb/modules/tv/tmpl/default/upcoming.php

     
    445445
    446446</table>
    447447<?php
    448     $ical_href = "ical{$_SERVER['REQUEST_URI']}?";
     448    $ical_href = str_replace('tv','ical/tv',$_SERVER['REQUEST_URI']).'?';
    449449    if (!$_SESSION['scheduled_recordings']['disp_scheduled'])
    450450        $ical_href .='skip_scheduled&';
    451451    if (!$_SESSION['scheduled_recordings']['disp_conflicts'])