diff --git a/adgear-ad-manager.php b/adgear-ad-manager.php index 92ea9d4..e0a511c 100644 --- a/adgear-ad-manager.php +++ b/adgear-ad-manager.php @@ -389,7 +389,7 @@ function widget($args, $instance) { "single" => $instance[ 'single' ] ) ); } else { $embed_code = adgear_ad( array( - "id" => $instance[ 'id' ], + "id" => $instance[ 'adspot_id' ], "single" => $instance[ 'single' ] ) ); }