[mythtv-commits] Ticket #8661: MythWeb shows duplicate power searchs in recording schedules

MythTV mythtv at cvs.mythtv.org
Thu Sep 30 22:37:46 UTC 2010


#8661: MythWeb shows duplicate power searchs in recording schedules
--------------------------------------+-------------------------------------
 Reporter:  MarcT <myrdhn@…>          |           Owner:  kormoc    
     Type:  defect                    |          Status:  assigned  
 Priority:  minor                     |       Milestone:  0.24      
Component:  Plugin - MythWeb          |         Version:  Trunk Head
 Severity:  low                       |      Resolution:            
 Keywords:                            |   Ticket locked:  0         
--------------------------------------+-------------------------------------

Comment (by Bill Meek <keemllib@…>):

 Attached a patch last night. Tested adding, deleting, changing and details
 of recording rules without any problems.  Below is a simpler version that
 passes the same tests (and also fixes the problem.)

 {{{
 Index: mythplugins/mythweb/modules/tv/schedules.php
 ===================================================================
 --- mythplugins/mythweb/modules/tv/schedules.php        (revision 26590)
 +++ mythplugins/mythweb/modules/tv/schedules.php        (working copy)
 @@ -43,6 +43,7 @@
      // Add this show
          $the_schedules[] = &$schedule;
      }
 +    unset($schedule);

  // Sort the recordings
      if (count($the_schedules))
 }}}

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/8661#comment:14>
MythTV <http://www.mythtv.org/>
MythTV Media Center


More information about the mythtv-commits mailing list