Active
Project:
Dash Media Player
Version:
6.x-1.7
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Dec 2009 at 13:02 UTC
Updated:
14 Dec 2009 at 06:09 UTC
dashplayer_get_player() doesn't return a value. It prints instead. All the docs indicate that the function should be used like this:
print dashplayer_get_player($params);
but the function does this:
function dashplayer_get_player($params) {
print theme('dashplayer_play_flash', $params);
}It presumably needs to do this instead:
function dashplayer_get_player($params) {
return theme('dashplayer_play_flash', $params);
}
I would submit a patch but it's probably far quicker just to change the word. ;-)
Comments
Comment #1
travist commentedHey.... thanks for the info. You are absolutely correct. I will make sure I add this to the next release. ( which is coming soon ).
Travis.