Ticket #9720: schedules_manual.php.diff
File schedules_manual.php.diff, 926 bytes (added by , 13 years ago) |
---|
-
schedules_manual.php
old new 21 21 $schedule =& Schedule::find($_GET['recordid']); 22 22 // Not a manual schedule 23 23 if (empty($schedule->search) || $schedule->search != searchtype_manual) 24 redirect_browser( 'tv/schedules');24 redirect_browser(root_url.'tv/schedules'); 25 25 } 26 26 // Create a new, empty schedule 27 27 else … … 176 176 $Channel_list = Channel::getChannelList(); 177 177 echo '<select name="channel">'; 178 178 $seen = array(); 179 foreach ($Channel_list as $ chanid) {180 $channel =& Channel::find($ chanid);179 foreach ($Channel_list as $this_chanid) { 180 $channel =& Channel::find($this_chanid); 181 181 182 182 // Print the option 183 183 echo '<option value="', $channel->chanid, '"',