fe26df5ec9
This feeds straight into context_module::instance() and I was inadvertantly using the forum->id, rather than the cm->id.