Skip to content

Commit

Permalink
Fix ad unit shortcodes
Browse files Browse the repository at this point in the history
  • Loading branch information
mboynes committed Jun 24, 2016
1 parent 3e43739 commit 9697de1
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
Original file line number Diff line number Diff line change
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 9697de1

Please sign in to comment.