--- webform_associate.module Fri Oct 10 19:33:16 2008 +++ webform_associate.module.new Tue Nov 17 08:35:46 2009 @@ -47,8 +47,12 @@ function webform_associate_menu_alter(&$ function webform_associate_menu_access($func, $arguments = array(), $node, $a3 = NULL) { $vars = variable_get('webform_associate_nodes', array()); + if (!in_array('webform', $vars)) { + $vars[] = 'webform'; + } + foreach ($vars as $var) { - if ($node->type == $var || $node->type == 'webform') { + if ($node->type == $var) { switch ($func) { case 'node_access': return $func($arguments[0], $node->nid);