--- files/adsense-5.x-3.0-beta2/adsense/adsense.module	2008-09-11 18:33:47.000000000 -0400
+++ sites/all/modules/contrib/adsense/adsense.module	2008-09-18 21:57:14.000000000 -0400
@@ -406,7 +406,7 @@ function adsense_display() {
     // If site Slot ID for this ad was passed, pass the format as argument
     // in case Publisher ID modules are enabled that can return different
     // Slot IDs per ad format
-    $client_id_arg = isset($args['slot']) ? $args['format'] : NULL;
+    $client_id_arg = !empty($args['slot']) ? $args['format'] : NULL;
     $client = adsense_get_client_slot_id($client_id_arg);
 
     if (is_array($client)) {
