]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
width and height should be integers in AdsensePlugin
authorEvan Prodromou <evan@status.net>
Wed, 27 Jan 2010 22:55:33 +0000 (17:55 -0500)
committerEvan Prodromou <evan@status.net>
Wed, 27 Jan 2010 22:55:33 +0000 (17:55 -0500)
plugins/Adsense/AdsensePlugin.php

index dc2b32bc8f566c93d863d791fed60d0c8852650a..ab2b9a6fb3b417dd8fca6d6c3bb78ee925f5d24f 100644 (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);