Opened 11 years ago

Closed 11 years ago

#6083 closed defect (fixed)

Fix array derefernce in tmdb.pl when no cast information is returned

Reported by: Stephen <stev391@…> Owned by: Anduin Withers
Priority: minor Milestone: unknown
Component: mythvideo Version: head
Severity: medium Keywords: tmdb.pl tmdb mythvideo
Cc: Ticket locked: no

Description

The following error occured when running tmdb.pl -D "Use of uninitialized value in array dereference at ./tmdb.pl line 142."

This is due to the movie database not returning any cast information. To fix this a simple 'if exists' is created around this section of code.

See patch attached to fix this issue.

Attachments (1)

tmdb.pl_fix_cast_dereference.patch (1.6 KB) - added by Stephen <stev391@…> 11 years ago.
Fixes issue referenced in ticket regarding tmdb.pl and cast information.

Download all attachments as: .zip

Change History (2)

Changed 11 years ago by Stephen <stev391@…>

Fixes issue referenced in ticket regarding tmdb.pl and cast information.

comment:1 Changed 11 years ago by Anduin Withers

Resolution: fixed
Status: newclosed

(In [20161]) Closes #6083

Fix uninitialized value perl error.

Thanks to Stephen (stev391) for the patch.

Note: See TracTickets for help on using tickets.