width and height should be integers in AdsensePlugin

This commit is contained in:
Evan Prodromou 2010-01-27 17:55:33 -05:00
parent 00d9b215f4
commit 2aba2eeeaf

View File

@ -150,8 +150,8 @@ class AdsensePlugin extends UAPPlugin
{
$code = 'google_ad_client = "'.$this->client.'"; ';
$code .= 'google_ad_slot = "'.$slot.'"; ';
$code .= 'google_ad_width = "'.$width.'"; ';
$code .= 'google_ad_height = "'.$height.'"; ';
$code .= 'google_ad_width = '.$width.'; ';
$code .= 'google_ad_height = '.$height.'; ';
$action->inlineScript($code);