Opened 6 years ago

Closed 5 years ago

Last modified 5 years ago

#10790 closed Bug Report - General (fixed)

Uninitialized arrays in recorded.php

Reported by: karog <mythtv@…> Owned by: kormoc
Priority: minor Milestone: 0.27
Component: Plugin - MythWeb Version: 0.25-fixes
Severity: low Keywords:
Cc: Ticket locked: no


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;


    $row     = 0;
    $section = -1;
    $row_count = array();
    $row_section = array();

Attachments (0)

Change History (2)

comment:1 Changed 5 years ago by Rob Smith <kormoc@…>

  • Resolution set to fixed
  • Status changed from new to closed

In 567cc78d54c1cb88713c475dfc047ec9ca1ad8cf/mythweb:

Fixes #10790, this fixes an error with using uninitialized arrays

comment:2 Changed 5 years ago by wagnerrp

  • Milestone changed from unknown to 0.27

Add Comment

Modify Ticket

as closed The owner will remain kormoc.
The resolution will be deleted. Next status will be 'new'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.