[mythtv-commits] Ticket #10790: Uninitialized arrays in recorded.php

MythTV noreply at mythtv.org
Sat Jun 2 15:24:34 UTC 2012


#10790: Uninitialized arrays in recorded.php
--------------------------------------+------------------------
     Reporter:  karog <mythtv@…>      |      Owner:  kormoc
         Type:  Bug Report - General  |     Status:  new
     Priority:  minor                 |  Milestone:  unknown
    Component:  Plugin - MythWeb      |    Version:  0.25-fixes
     Severity:  low                   |   Keywords:
Ticket locked:  0                     |
--------------------------------------+------------------------
 In both /mythweb/modules/tv/tmpl/default/recorded.php and
 /mythweb/modules/tv/tmpl/lite/recorded.php, the arrays $row_count and
 $row_section are uninitialized causing a php error that then generates a
 javascript error but does not generally manifest in the actual page
 display. This can be easily fixed in both files by changing:
 {{{
     $row     = 0;
     $section = -1;
 }}}
 to
 {{{
     $row     = 0;
     $section = -1;
     $row_count = array();
     $row_section = array();
 }}}

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/10790>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list