Closed (fixed)
Project:
Advertisement
Version:
5.x-1.5
Component:
ad module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Jul 2008 at 09:31 UTC
Updated:
23 Aug 2008 at 21:05 UTC
When using iframe I was getting tons of php errors like this:
Missing argument 2 for variable_get(), called in /home/rzlender/redesign/www/sites/all/modules/ad/adserve.inc on line 434 and defined in /home/rzlender/redesign/www/includes/bootstrap.inc on line 412.
Attached patch should fix it.
| Comment | File | Size | Author |
|---|---|---|---|
| Advariableget.patch | 861 bytes | Rok Žlender |
Comments
Comment #1
mennonot commented+1 Works for me.
I was getting this error repeatedly too (though I'm not using the iframe). I manually patched the code and the error went away, although I'm not clear what "/Attic/" is doing in this file path:
RCS file: /cvs/drupal-contrib/contributions/modules/ad/Attic/adserve.inc
Comment #2
jeremy commentedThanks for the bug report and patch! Slightly modified fix committed in the development branch.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.