[mythtv-commits] Ticket #7193: Unable to edit/change manual schedules via Mythweb

MythTV mythtv at cvs.mythtv.org
Mon Sep 28 08:58:09 UTC 2009


#7193: Unable to edit/change manual schedules via Mythweb
--------------------------------+-------------------------------------------
 Reporter:  panachoi at gmail.com  |       Owner:  ijr    
     Type:  defect              |      Status:  new    
 Priority:  minor               |   Milestone:  unknown
Component:  MythTV - General    |     Version:  unknown
 Severity:  low                 |     Mlocked:  0      
--------------------------------+-------------------------------------------
 Although creating a manual schedule works via mythweb, attempting to
 change it brings an error message:

 Fatal error: Class 'Schedules' not found in
 /var/www/d915/modules/tv/schedules_manual.php on line 24

 This looks to me like a simple typo, and here's the patch:

 {{{
 --- schedules_manual.php.DIST        2009-09-16 04:55:58.000000000 +0200
 +++ schedules_manual.php   2009-09-28 10:51:55.897137835 +0200
 @@ -21,7 +21,7 @@

  // Load an existing schedule?
      if ($_GET['recordid']) {
 -        $schedule =& Schedules::find($_GET['recordid']);
 +        $schedule =& Schedule::find($_GET['recordid']);
      // Not a manual schedule
          if (empty($schedule->search) || $schedule->search !=
 searchtype_manual)
              redirect_browser('tv/schedules');

 }}}

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/7193>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list