Active
Project:
Media: BlipTV
Version:
6.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Apr 2012 at 18:09 UTC
Updated:
17 Apr 2012 at 18:09 UTC
On posting a new node I'm getting the following messages:-
Notice: Undefined offset: 1 in emvideo_bliptv_extract() (line 58 of /srv/bindings/ab331aab8e404f6d89add5010badaee5/code/sites/all/modules/media_bliptv/providers/emvideo/bliptv.inc).
Notice: Undefined offset: 1 in emvideo_bliptv_extract() (line 58 of /srv/bindings/ab331aab8e404f6d89add5010badaee5/code/sites/all/modules/media_bliptv/providers/emvideo/bliptv.inc).
Notice: Undefined offset: 1 in emvideo_bliptv_extract() (line 58 of /srv/bindings/ab331aab8e404f6d89add5010badaee5/code/sites/all/modules/media_bliptv/providers/emvideo/bliptv.inc).
Notice: Undefined offset: 1 in emvideo_bliptv_extract() (line 58 of /srv/bindings/ab331aab8e404f6d89add5010badaee5/code/sites/all/modules/media_bliptv/providers/emvideo/bliptv.inc).
The message goes away if I make this change:-
- if ($matches[1]) {
+ if (array_key_exists(1, $matches) && $matches[1]) {
The reasoning is it is a simple guard against there not being anything in $matches ..