Opened 11 years ago

Closed 11 years ago

#7193 closed defect (fixed)

Unable to edit/change manual schedules via Mythweb

Reported by: panachoi@… Owned by: Rob Smith
Priority: minor Milestone: 0.22
Component: Plugin - MythWeb Version: head
Severity: low Keywords:
Cc: Ticket locked: no


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)

Change History (3)

comment:1 Changed 11 years ago by Rob Smith

Milestone: unknown0.22
Version: unknownhead

comment:2 Changed 11 years ago by Rob Smith

Component: MythTV - GeneralPlugin - MythWeb
Owner: changed from Isaac Richards to Rob Smith

comment:3 Changed 11 years ago by Rob Smith

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.