Looking at the code, and in _radioactivity_node_resolve_node_type() there is an allowance for caching statically the node type, but there is no static declaration.
function _radioactivity_node_resolve_node_type($nid, $oclass) {
if (!isset($cached_types[$nid])) {
$type = db_result(db_query("SELECT type FROM {node} WHERE nid = %d", $nid));
$cached_types[$nid]=$type;
}
return $cached_types[$nid];
}
the function should be
function _radioactivity_node_resolve_node_type($nid, $oclass) {
static $cached_types = array();
if (!isset($cached_types[$nid])) {
$type = db_result(db_query("SELECT type FROM {node} WHERE nid = %d", $nid));
$cached_types[$nid]=$type;
}
return $cached_types[$nid];
}
or the check needs to be removed.
Comments
Comment #1
sutharsan commentedIssue triage: Closing issue, the 6.x branch is no longer maintained.
If you believe this issue is closed in error, feel free to re-open.