--- ./modules/nmoderation/nmoderation.module.drupal.orig 2006-03-20 11:23:32.000000000 +0100 +++ ./modules/nmoderation/nmoderation.module 2006-03-20 11:25:27.000000000 +0100 @@ -51,7 +51,11 @@ else { $items[] = array('path' => 'node/'. arg(1). '/nmoderation', 'title' => t('manage votes'), 'type' => MENU_LOCAL_TASK, 'callback' => 'nmoderation_list_node', 'weight' => 5, 'access' => user_access('administer node moderation votes'), 'callback arguments' => array(arg(1))); - drupal_set_html_head(implode("\n", nmoderation_set_head())); + +//AOL: Prevent error on implode when we don't have access + if (user_access('access content')) { + drupal_set_html_head(implode("\n", nmoderation_set_head())); + } } return $items; }