diff options
Diffstat (limited to 'inc/html.php')
-rw-r--r-- | inc/html.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/html.php b/inc/html.php index 43ab397d0..c697b1f51 100644 --- a/inc/html.php +++ b/inc/html.php @@ -1465,7 +1465,7 @@ function html_flashobject($swf,$width,$height,$params=null,$flashvars=null,$atts // prepare the object attributes if(is_null($atts)) $atts = array(); $atts['width'] = (int) $width; - $atts['height'] = (int) $heigh; + $atts['height'] = (int) $height; if(!$atts['width']) $atts['width'] = 425; if(!$atts['height']) $atts['height'] = 350; @@ -1494,7 +1494,7 @@ function html_flashobject($swf,$width,$height,$params=null,$flashvars=null,$atts // add flashvars if(is_array($flashvars)){ - $out .= ' <param name="flashvars" value="'.hsc(buildURLparams($flashvars)).'" />'.NL; + $out .= ' <param name="FlashVars" value="'.buildURLparams($flashvars).'" />'.NL; } // alternative content |