Closed (fixed)
Project:
Advertisement
Version:
6.x-2.0
Component:
ad_channel module
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Jul 2009 at 18:07 UTC
Updated:
12 Aug 2009 at 22:30 UTC
The ad_channel module will not store a nodes channel selections on insert or update unless Ad Weight Probability is enabled. There is a conditional on line 450 of ad_channel.module
case 'insert':
case 'update':
if (is_object($node) && isset($node->adtype) &&
isset($node->probability) && isset($node->nid)) {
return _ad_channel_save_node($node);
}
break;
$node->probability is null unless Ad Weight Probability is enabled.
Either kill those conditionals or require ad weights is installed in the .info to fix it.
-Jerod
Comments
Comment #1
jeremy commentedThis code was removed during development some time ago, marking as fixed.