i'm getting this error when i create a PHP block to display ads
Notice: Undefined variable: module in adsense_display() (line 470 of modules/adsense/adsense.module).
the line in the .module file is
$ad = theme('adsense_ad', array('ad' => $ad, 'module' => $module));
any clues?
thanks
Comments
Status: Fixed » Closed (fixed)
Automatically closed -- issue fixed for 2 weeks with no activity.
Comment #1
jcnventuraThanks for the issue. I've corrected the problem in git. Please note that this error can only show up when you haven't enabled any ad-generation modules that are in the package. The module is useless without an ad-generation module.