Skip to content

Commit

Permalink
Merge pull request #52 from alleyinteractive/shortcode-fix
Browse files Browse the repository at this point in the history
Fix ad unit shortcodes
  • Loading branch information
mboynes committed Jun 24, 2016
2 parents 3e43739 + 9697de1 commit db9fe8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/ad-servers/class-ad-layers-ad-server.php
Expand Up @@ -223,7 +223,7 @@ public function get_ad_units() {
*/
public function get_ad_unit( $ad_unit, $echo = true ) {
if ( ! empty( $this->ad_server ) ) {
$this->ad_server->get_ad_unit( $ad_unit, $echo );
return $this->ad_server->get_ad_unit( $ad_unit, $echo );
}
}

Expand Down

0 comments on commit db9fe8f

Please sign in to comment.