Modify
Warning Please read the Ticket HowTo before creating or commenting on a ticket. Failure to do so may cause your ticket to be rejected or result in a slower response.

Opened 23 months ago

Closed 13 months ago

Last modified 13 months 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

Description

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();

Attachments (0)

Change History (2)

comment:1 Changed 13 months 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 13 months ago by wagnerrp

  • Milestone changed from unknown to 0.27

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'new'.
Author


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

 
Note: See TracTickets for help on using tickets.