From 22d70e4ad9afe687bcf4d7b1b24cbb55cde60d67 Mon Sep 17 00:00:00 2001
From: Dan Chadwick <dan899@gmail.com>
Date: Wed, 5 Nov 2014 15:59:00 -0500
Subject: [PATCH] Issue #1509424 by DanChadwick: Fixed regression for Add
 permission to allow editing of the node body but not the
 webform settings.

---
 webform.module |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/webform.module b/webform.module
index 3461ac3..c0c5c0b 100644
--- a/webform.module
+++ b/webform.module
@@ -173,9 +173,9 @@ function webform_menu() {
     'title' => 'E-mails',
     'page callback' => 'drupal_get_form',
     'page arguments' => array('webform_emails_form', 1),
-    'access callback' => 'node_access',
     'access callback' => 'webform_node_update_access',
     'access arguments' => array(1),
+    'file' => 'includes/webform.emails.inc',
     'weight' => 4,
     'type' => MENU_LOCAL_TASK,
   );
-- 
1.7.8.msysgit.0

