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

jeremy’s picture

Status: Active » Fixed

This code was removed during development some time ago, marking as fixed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.