Closed (fixed)
Project:
SWF Tools
Version:
5.x-1.x-dev
Component:
SWF Tools
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 May 2007 at 22:11 UTC
Updated:
11 Jun 2007 at 02:17 UTC
In swftools.module / function swf(), should the line for setting the html_alt text be:
$html_alt = ($othervars['html_alt']) ? $othervars['html_alt'] : variable_get('swftools_html_alt', '<p>Sorry, flash is not available.</p>');
rather than using object notation ($othervars->html_alt). The description of $othervars says it should be an array, rather than an object.
Comments
Comment #1
simeThanks, very true and now fixed.
http://drupal.org/cvs?commit=68698
(Apologies for not saying Thanks @Stuart Greenfield. I was rushing).
Comment #2
simeAlso Stuart, this is an example of a fix I'm happy for you to commit directly.
Comment #3
(not verified) commented