summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-01-27 17:55:33 -0500
committerEvan Prodromou <evan@status.net>2010-01-27 17:55:33 -0500
commit2aba2eeeaf78f4e407abe23643ff6027b0ea53dd (patch)
tree54bd64f2b46838287138bc467d49dc7deee3ed51
parent00d9b215f4de97f94035880041179879fcf0d201 (diff)
width and height should be integers in AdsensePlugin
-rw-r--r--plugins/Adsense/AdsensePlugin.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Adsense/AdsensePlugin.php b/plugins/Adsense/AdsensePlugin.php
index dc2b32bc8..ab2b9a6fb 100644
--- a/plugins/Adsense/AdsensePlugin.php
+++ b/plugins/Adsense/AdsensePlugin.php
@@ -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);