Ticket #4449: mythweb-recgroup_select-this_group.patch

File mythweb-recgroup_select-this_group.patch, 871 bytes (added by sphery <mtdean@…>, 16 years ago)
  • mythweb/modules/tv/includes/recording_schedules.php

     
    554554/**/
    555555    function recgroup_select($this_group, $name = 'recgroup') {
    556556        static $groups = array();
     557        if (empty($this_group))
     558            $this_group = 'Default';
    557559    // Load the recording groups?
    558560        if (!count($groups)) {
    559561        // Default
     
    586588        }
    587589        if (!$groups[$this_group]) {
    588590            echo '<option value="', html_entities($this_group), '" SELECTED',
    589                  '>', html_entities($group), '</option>';
     591                 '>', html_entities($this_group), '</option>';
    590592        }
    591593        echo '</select>';
    592594    }