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

sime’s picture

Status: Active » Fixed

Thanks, very true and now fixed.
http://drupal.org/cvs?commit=68698

(Apologies for not saying Thanks @Stuart Greenfield. I was rushing).

sime’s picture

Also Stuart, this is an example of a fix I'm happy for you to commit directly.

Anonymous’s picture

Status: Fixed » Closed (fixed)