Ticket #5617: mythweb-5617-do_not_sort_empty_upcoming_recordings_list.patch

File mythweb-5617-do_not_sort_empty_upcoming_recordings_list.patch, 614 bytes (added by sphery <mtdean@…>, 12 years ago)
  • mythweb/modules/tv/upcoming.php

     
    134134
    135135// Sort the programs
    136136    if (count($all_shows))
     137    {
    137138        sort_programs($all_shows, 'scheduled_sortby');
    138139
    139     uksort($Groups, 'by_no_articles');
    140     uksort($Program_Titles, 'by_no_articles');
     140        uksort($Groups, 'by_no_articles');
     141        uksort($Program_Titles, 'by_no_articles');
     142    }
    141143
    142144// Load the class for this page
    143145    require tmpl_dir.'upcoming.php';