Active
Project:
Ad GeoIP
Version:
5.x-1.2
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Apr 2011 at 09:47 UTC
Updated:
4 Apr 2011 at 12:35 UTC
When you edit an ad node the default selected options are not displaying. I looked in ad_geoip_ads_country table and the data is there.
Looking at dev render and dev load it appears that $node->geoip_country_format and $node->geoip_country_codes don't exist therefore default_value are not set.
Comments
Comment #1
mikebell_ commentedOn line 232 of ad_geoip.module it's checking for $node->adtype this object doesn't exist.
changed to
if ($node->type == 'ad') {and works as expected.