2664a2665 > error_log("node.module: Checking access for op=$op with module $module"); 2666a2668 > error_log("node.module: module $module Returning $access"); 2669a2672,2683 > // Now allow other modules to have their say on access to this node > $results = node_invoke_nodeapi($node, 'access', $op); > // The first module that actually returns a value takes precidence over > // all the others. > foreach ($results as $access) { > // node_invoke_nodeapi shouldn't even put NULL in it's results, but > // we should check because it's pretty important to get this right > if (!is_null($access)) { > return $access; > } > } >