Needs review
Project:
JW Player Module for Drupal
Version:
6.x-1.7
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Jun 2013 at 15:59 UTC
Updated:
7 Jun 2013 at 15:59 UTC
The integration module jwcck has one function, a nodeapi hook, which attempts to theme the video inside the safe value of the field. In nodereference fields, however, the safe value is not a string, but an array of data to reference a node. Thus the theme function is replacing the array with a NULL value and the referenced node is not being rendered.
Attached is a patch that will add a conditional exception if the 'safe' value is an array.
| Comment | File | Size | Author |
|---|---|---|---|
| nodereference_safeval.patch | 1023 bytes | KeyboardCowboy |